VA:=IF(CLOSE REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),COLOR00FFFF;
MAOBV:MA(OBV,14),COLOR996699;
箱顶:HHV( OBV,20),COLOR0000FF;
箱底:LLV( OBV,20),COLOR00FF00;
UPPER:MAOBV+2*STD(OBV,20),COLORFFFF00,POINTDOT;
LOWER:MAOBV-2*STD(OBV,20),COLORFF0000,POINTDOT;
XG:IF(OBV =箱底 AND OBV =LOWER,箱底*1.03,箱底),COLOR009900;