JJ:=(HIGH+LOW+CLOSE)/3;
QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);
主买:=(QJ0*(JJ-MIN(CLOSE,OPEN)));
主卖:=(QJ0*(MIN(OPEN,CLOSE)-LOW));
主净入:=主买-主卖,COLORRED,NODRAW;
ZJS:SUM(主净入,FROMOPEN);
M20:MA(ZJS,20);
M60:MA(M20,30),LINESTICK;
M120:MA(M60,20);
M240:MA(M120,20);