通达信DDX成交量副图指标
2016-05-30 11:23:00来源:本站整理浏览:257
通达信DDX成交量副图指标
源码
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交量:VOL,POINTDOT,COLORYELLOW;
买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
卖盘:IF(CLOSE>OPEN,VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,VAR1*(HIGH-LOW),VOL/2)),COLOR00FF00,POINTDOT;
STICKLINE(VOL>0,VOL,0,2,0),COLORYELLOW;
STICKLINE(买盘>0,0,买盘,2,0),COLORRED;
STICKLINE(卖盘>0,0,卖盘,0.8,0),COLOR00FF00;
成交量比%:买盘/VOL*100,COLORWHITE,NODRAW;
- 上一篇公式:通达信黑马图副图指标
- 下一篇公式:通达信短线买卖副图指标