Skip to content
72lab

On-Balance Volume (OBV) EA: no-code builder for MT4 / MT5

VolumeOn-Balance Volume (OBV) adds volume on up days and subtracts it on down days as a running total. OBV rising before price hints that money is flowing in.

Rules you can build with it

Works as an entry rule or an exit rule. Short rules are mirrored automatically.

  • LongOBV rises
    ShortOBV falls
  • LongOBV falls
    ShortOBV rises
  • LongOBV turns up
    ShortOBV turns down
  • LongOBV turns down
    ShortOBV turns up

How the backtest and the EA calculate it

Same as MT5's On Balance Volume; in forex, tick volume stands in for traded volume.

Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.

Example strategies

Example 1
  • Entry · On-Balance Volume (OBV): OBV rises
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop
Example 2
  • Entry · On-Balance Volume (OBV): OBV rises
  • Entry · Moving Average (50, EMA, Close): MA rises
  • Stop-loss 300 points, take-profit 600 points
Open in the EA Workshop

Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.