通达信箱体突破主图及选股指标(源码)
2014-08-25 21:49:00来源:本站整理浏览:744
MA1:MA(C,4);
MA2:MA(C,24);
箱顶:PEAK(CLOSE,13,1)*0.98 COLORFF00FF;
箱底:TROUGH(CLOSE,8,1)*1.02 COLORFF8080;
DRAWTEXT(CURRBARSCOUNT=2,箱顶*1.012,' 箱顶'),COLORFF00FF;
DRAWTEXT(CURRBARSCOUNT=2,箱底*0.998,' 箱底'),COLORFF8080;
STICKLINE(箱底,箱底,箱顶,0.1,1)COLORLIGRAY;
{
选股公式:
箱顶:=PEAK(CLOSE,13,1)*0.98 ;
箱底:=TROUGH(CLOSE,8,1)*1.02;
AA:=CROSS(REF(C,1),箱顶);
BB:=CROSS(OPEN,箱顶);
DD:=C>O;
突破:AA AND BB AND DD;
}
- 上一篇公式:通达信财富平台主图指标(源码)
- 下一篇公式:通达信另类KDJ指标(源码)