VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
成交:vol,pointdot;
主动买盘: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)),color00ff00,pointdot;
stickline(VOL>0,vol,0,4,1),colorwhite;
stickline(主动买盘>0,0,主动买盘,4,0),colorred;
stickline(主动卖盘<0,0,主动卖盘,4,0),color00ff00;