A cumulative volume indicator that adds volume on up-days and subtracts on down-days. It reflects buying/selling pressure: rising OBV suggests accumulation (bullish), falling OBV suggests distribution (bearish). Forex robots often look for divergences between OBV and price (e.g. price up while OBV down) as early reversal signals. Use iOBV()
in MQL or Indicators.OnBalanceVolume()
in cAlgo to compute OBV.