炒股指标

显示 收起

通达信VOL+DDX指标公式

通达信VOL+DDX指标公式:

VOLUME:VOL,VOLSTICK;
{VOL,VOLSTICK;MA5:MA(VOL,3);MA10:MA(VOL,5);}
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;{实体为0}
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;

通达信VOL+DDX指标公式实例图解:

通达信VOL+DDX指标公式