通达信V-DDX指标公式
2020/2/5 18:08:50
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.kanguba.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;
看 股吧公式 www.k anguba.com
其它股票公式列表