通达信V-DDX指标公式

通达信稳健型买卖主图指标公式

M1:=5;M2:=5;

量:vol,VOLstICK;

预量:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),COLORFFFF00;

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 ;

卖:-IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2)),COLORFF9088,POINTDOT;

{指标网-股票公式网站 www.gupAng.com}

买卖%:ABS(买/卖),LINETHICK0,COLORWHITE;

STICKLINE(VOL>0,VOL,0,3,0),COLORCC0000;

STICKLINE(VOL>0,VOL,0,2,0),COLORFF4400;

STICKLINE(VOL>0,VOL,0,1.1,0),COLORFF8800;

STICKLINE(VOL>0,VOL,0,0.4,0),COLORFFCC00;

STICKLINE(买>0,0,买,3,0),COLOR000066;

STICKLINE(买>0,0,买,2,0),COLOR000099;

STICKLINE(买>0,0,买,1.1,0),COLOR0000CC;

STICKLINE(买>0,0,买,0.4,0),COLOR0000FF;

M5:MA(买,M1),COLORFFFFFF,LINETHICK1;

MM5:MA(卖,M2),COLOR00FF00,LINETHICK1;

通达信强势主升浪指标公式