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,2,1),COLORWHITE;
STICKLINE(主动买盘 0,0,主动买盘,2,0),COLORRED;
STICKLINE(主动卖盘 0,0,主动卖盘,2,0),COLOR00FF00;