AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),COLORRED;
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
0-AA*(HIGH-LOW),0-VOL/2)),COLORGREEN;
盘差:=主动买盘+主动卖盘;
V2:=POW(盘差,3);
V3:=SQRT(V2)/1000000;
V4:=MA(V3,20)/MA(C,20);
V5:=V3/V4;
净量比强度:V5/C,NODRAW;
DRAWBAND(1.5,RGB(47,79,79),净量比强度,90);
三日累计净量:SUM(净量比强度,3),COLORYELLOW,LINETHICK1;
净量比强度,VOLSTICK;
STICKLINE(净量比强度>1.5 AND C>O,1.5,0,1.5,0),COLORBROWN;
STICKLINE(净量比强度>1.5 AND C>O,1.5,净量比强度,1.5,0),COLORMAGENTA;
DRAWICON(三日累计净量<1.5,5,1);