VOL+DDX-精品通达信指标公式源码分享
通达信免费指标
09-23
阅读:110
评论:0
VOLUME:VOL,VOLSTICK;
VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,2.2,-1),COLORFFFFFF;
STICKLINE(C>=O,0,VOL,2.3,0),COLORFFFFFF;
VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主买:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,
VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED,POINTDOT;
主卖:=VOL-主买;
STICKLINE(VOL>0 AND C>O,VOL,0,2.1,0),COLORRED;
DDX:=(主买+主卖);
DX:=MA(DDX,5);
DDX1:SMA(DX,3,1),COLORFF00FF;
DDX2:SMA(DDX1,3,1),COLORWHITE;
DDX3:EMA(DDX2,5),COLORF0F000;
版权声明
本文版权归掌上指标所有。
未经许可,不得转载,转载请注明出处!