通达信计算阴阳线的实体幅度主图指标(源码)
2015-03-31 22:29:00来源:本站整理浏览:341
FD:=(CLOSE-OPEN)/REF(CLOSE,1)*100;
STICKLINE(FD>3.33 AND FD<=6.66,CLOSE,OPEN,1,0),COLOR4080FF;
STICKLINE(FD>6.66,CLOSE,OPEN,1,0),COLOR0000FF;
STICKLINE(FD<-3.33 AND FD>=-6.66,CLOSE,OPEN,1,0),COLORFF8000;
STICKLINE(FD<-6.66,CLOSE,OPEN,1,0),COLOR008000;
DRAWICON(CLOSE=ZTPRICE(REF(CLOSE,1),0.1) AND OPEN!=CLOSE,CLOSE*1.02,10);
DRAWICON(CLOSE=DTPRICE(REF(CLOSE,1),0.1) AND OPEN!=CLOSE,CLOSE*0.98,10);
- 上一篇公式:通达信超级建仓指标(源码)
- 下一篇公式:通达信幸福一家主图及选股指标(源码)