HJ_1:=30;
HJ_2:=30;
HJ_3:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
HJ_4:=SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_3),0);
HJ_5:=MA(obv,HJ_1);
DRAWBAND(HJ_5,RGB(0,0,80),HJ_4,RGB(160,0,0));
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_3),0);
MA30:MA(OBV,HJ_1);
HJ_1:=30;
HJ_2:=30;
HJ_3:=IF(CLOSE>REF(CLOSE,1),vol,-VOL);
HJ_4:=SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_3),0);
HJ_5:=MA(obv,HJ_1);
DRAWBAND(HJ_5,RGB(0,0,80),HJ_4,RGB(160,0,0));
OBV:SUM(IF(CLOSE=REF(CLOSE,1),0,HJ_3),0);
MA30:MA(OBV,HJ_1);