VA:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
obv:SUM(IF(CLOSE=REF(CLOSE,1),0,VA),0);
maOBV:ema(OBV,30);
IF(MaoBV>=REF(MAOBV,1),MAOBV,DRAWNULL),COLORWHITE,LINETHICK2;
IF(MAOBV<REF(MAOBV,1),MAOBV,DRAWNULL),COLORCYAN,LINETHICK2;
EMA(OBV,5),COLORCYAN;
IF(EMA(OBV,5)>=REF(EMA(OBV,5),1),EMA(OBV,5),DRAWNULL),COLORWHITE;
EMA(OBV,10),COLORCYAN;
IF(EMA(OBV,10)>=REF(EMA(OBV,10),1),EMA(OBV,10),DRAWNULL),COLORWHITE;
EMA(OBV,15),COLORCYAN;
IF(EMA(OBV,15)>=REF(EMA(OBV,15),1),EMA(OBV,15),DRAWNULL),COLORWHITE;
EMA(OBV,20),COLORCYAN;
IF(EMA(OBV,20)>=REF(EMA(OBV,20),1),EMA(OBV,20),DRAWNULL),COLORWHITE;
EMA(OBV,25),COLORCYAN;
IF(EMA(OBV,25)>=REF(EMA(OBV,25),1),EMA(OBV,25),DRAWNULL),COLORWHITE;