VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
{量变动速率线}
OSCC:=2*(OBV-MA(OBV,20));
MaoSCC:=EXPMEMA(OSCC,6);
IF(OBV
IF(OBV>REF(OBV,1),OBV,DRAWNULL),COLOR0000FF,LINETHICK2;
MAOBV2:=MA(OBV,30),COLORFFFFFF,LINETHICK1;
DRAWBAND(OBV,RGB(200,10,10),MAOBV2,RGB(30,180,00));
T线:HHV(OBV,0),COLORGREEN;