M1:=60;
N:=100;
MA13:=MA(V,M1);
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;
盘差:=主动买盘+主动卖盘;
DRAWKLINE((V-MA13)/V*100,(主动买盘-MA13)/主动买盘*100,(主动卖盘-MA13)/主动卖盘*100,(盘差-MA13)/盘差*100);
DRAWKLINE((V+MA13)/V,(主动买盘+MA13)/主动买盘,(主动卖盘+MA13)/主动卖盘,(盘差+MA13)/盘差);
0,DOTLINE,COLORWHITE;
10,DOTLINE,COLORGREEN;
-10,DOTLINE,COLORLIRED;
-20,DOTLINE,COLORYELLOW;
80,DOTLINE;