VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
主动卖盘:=IF(CLOSE>OPEN,0-VAR1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-VAR1*(HIGH-LOW),0-VOL/2));
STICKLINE(C>O,0,VOL,2.5,1),COLORRED;
STICKLINE(C<O ,0,VOL,2.5,1),COLORFFFF00;
STICKLINE(C=O AND C<REF(C,1),0,VOL,2.5,1),COLORFFFF00;
STICKLINE(C=O AND C>REF(C,1),0,VOL,2.5,1),COLORRED;
STICKLINE(主动买盘>0,0,主动买盘,2.5,0),COLORRED;
换手: VOL/CAPITAL*100;