A1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,A1*(HIGH-LOW),IF(CLOSE<OPEN,A1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),COLORRED NODRAW;
主动卖盘:=IF(CLOSE>OPEN,A1*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,A1*(HIGH-LOW),VOL/2)),COLORGREEN NODRAW;
L3:SUM((主动买盘-主动卖盘)/CAPITAL,20)*1000 LINETHICK;
DRAWBAND(MA(L3,5),RGB(155,50,50),MA(L3,10),RGB(83,123,68));
STICKLINE(L3>=0,0,L3,1.6,0),COLOR000088;
STICKLINE(L3>=0,0,L3,1.2,0),COLOR0000AA;
STICKLINE(L3>=0,0,L3,0.7,0),COLOR0000CC;
STICKLINE(L3>=0,0,L3,0.1,0),COLOR0000FF;
STICKLINE(L3<0,0,L3,1.6,0),COLOR888800;
STICKLINE(L3<0,0,L3,1.2,0),COLORAAAA00;
STICKLINE(L3<0,0,L3,0.7,0),COLORCCCC00;
STICKLINE(L3<0,0,L3,0.1,0),COLORFFFF00;
MA05:MA(L3,5) COLORWHITE;
MA10:MA(L3,10) COLORYELLOW;
MA20:MA(L3,20) COLORGREEN LINETHICK1;