A:=IF(CAPITAL=0,AMOUNT/100000000,vol);
B:=IF(CLOSE>REF(CLOSE,1),A,-A);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,B),0),LINETHICK2;
M5:EMA(OBV,5);
M10:EMA(OBV,10);
M60:EMA(OBV,30);
A:=IF(CAPITAL=0,AMOUNT/100000000,vol);
B:=IF(CLOSE>REF(CLOSE,1),A,-A);
obv:=SUM(IF(CLOSE=REF(CLOSE,1),0,B),0),LINETHICK2;
M5:EMA(OBV,5);
M10:EMA(OBV,10);
M60:EMA(OBV,30);