VA:=IF(CLOSE>REF(CLOSE,1),VOL,-VOL);
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0),LINETHICK2;
OBV30:MA(OBV,30);
OBV7:MA(OBV,7);
OBV13:MA(OBV,13);
OBV89:MA(OBV,89);
J1:=ATAN(((OBV7)/REF(OBV7,1)-1)*100)*180/3.1416;
IF(J1>45,OBV7,DRAWNULL),LINETHICK2,COLORRED;
STICKLINE(OBV30>OBV89,OBV30,OBV89,0,1),COLORRED;
STICKLINE(OBV30<OBV89,OBV30,OBV89,0,1),COLORGREEN;