VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLOR00FFFF;
MAOBV:MA(OBV,13),COLOR996699;
箱顶:HHV( OBV,20),COLOR0000FF;
箱底:LLV( OBV,20),COLOR00FF00;
UPPER:MAOBV+2*STD(OBV,20),COLORMAGENTA;
LOWER:MAOBV-2*STD(OBV,20),COLORFF0000;
选股公式:
FZ:=REF(C,1)*1.1-CREF(CLOSE,1),VOL,-VOL);
OBV:=SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
MAOBV:=MA(OBV,13);
箱底:=LLV( OBV,20);
UPPER:=MAOBV+2*STD(OBV,20);
A1:=CAPITAL/10000001.055,60);
停牌:=DYNAINFO(4)>0;
XG:(OBV=箱底 OR CROSS(MAOBV,OBV)) AND A1 AND ST AND 停牌 AND COUNT(FZ,10)>0;