M1:=60;
N:=100;
MA13:=MA(V,M1);
AA:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主动买盘:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE
主动卖盘:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE
盘差:=主动买盘+主动卖盘;
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;