DDX VOL 看图
量: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;
买卖%: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;