V1:=V/CAPITAL*100;
maV5:=EMA(V/CAPITAL*100,5);
MAV10:=EMA(V/CAPITAL*100,10);
量能:((V1-MAV5)/MAV5*2+(V1-MAV10)/MAV10)*10;
SZ:=C 0 AND C REF(C,1);
放量上涨:((crOSS(量能,20) OR (量能-REF(量能,1)) =10) AND SZ)*10,COLORRED;
stICKLINE(放量上涨,0,vol,3,0),COLORRED;
AA:=VOL/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE OPEN,AA*(HIGH-LOW),IF(CLOSE OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动买万:主动买盘/10000;
主动卖盘:=IF(CLOSE OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE OPEN,
0-AA*(HIGH-LOW),0-VOL/2)),LINETHICK0,COLORGREEN;
主动卖万:主动卖盘/10000;
额占盘%:(CAPITAL/1000000)/(AMOUNT/100000000);
主买占盘%:(CAPITAL/1000000)/(主动买盘/10000);
主卖占盘%:(CAPITAL/1000000)/(主动卖盘/10000);