On Balance Volume (OBV) Divergence Indicator for MT4 & MT5
Regular and hidden divergences between price and the On Balance Volume (OBV), found automatically and drawn on the price chart, in the OBV window, or both. Get an alert when a new divergence is confirmed. Optional predicted divergence marks a possible divergence earlier: see how it works.
What is On Balance Volume (OBV)?
The idea: What is OBV?
On Balance Volume (OBV) was devised by Joseph Granville. It is a running total of volume: when a bar closes higher than the previous one, its volume is added, and when it closes lower, its volume is subtracted. If the close does not change, OBV does not change. The idea behind it is that volume changes before price does.
How traders read it
Traders read OBV as a line with its own trend: higher peaks and bottoms mean a rising OBV trend, lower ones a falling trend. Granville held that a breakout on OBV often comes before a breakout on the price chart.
What to watch for
OBV adds the full volume of a bar whether price moved a little or a lot, and its value depends on where the calculation starts, so watch its direction, not the number. That OBV leads price is a theory, not a rule. On forex symbols, OBV is typically calculated using tick volume, which depends on the broker’s price feed.
TrueTL OBV divergence indicator: how it works
TrueTL OBV Divergence compares the peaks and bottoms of OBV with price and finds regular and hidden, bullish and bearish divergences. It draws them on the price chart, in the OBV window, or both, and you can filter them in several ways. A regular divergence can point to a possible reversal and a hidden one to a possible continuation of the trend. Neither is a guarantee. An optional predicted mode marks a possible divergence earlier. This early marker can disappear and come back until the candle closes. In a strong trend, divergences can keep appearing while price continues, so use them together with the price chart. A normal divergence is drawn once the candle has closed and the divergence is confirmed: no repaint once a candle closes on the indicator’s timeframe.
What a divergence is, the four types and common filters, with examples: About the divergence.
OBV divergence indicator features
- PlatformsMetaTrader 4 and MetaTrader 5, any broker, demo or live account.
- Any symbolForex pairs, stocks, indices, crypto: any MT4/MT5 symbol.
- Non repaintOnce a candle closes on the indicator’s timeframe, what is drawn stays fixed.
- Works with other MetaTrader toolsOBV values and events are available to other MetaTrader indicators and programs through the standard iCustom() function. The PDF user guide lists every value.
- Regular and hiddenBullish and bearish, regular and hidden divergences, each with its own color and line style.
- Predicted divergence (optional)An early marker before the candle closes, with its own color and sensitivity. It can disappear and come back until the candle closes. How it works, with examples.
- Price chart, OBV window, or bothChoose where the divergence lines are drawn.
- FiltersMaximum distance, candle bodies, OBV level, value tolerance and detection sensitivity.
- Bullish, bearish or allShow all divergences, or only the bullish or only the bearish ones.
- Other timeframesCalculate OBV on a higher or lower timeframe and see it on your chart, with optional smoothing.
- Level lineAn optional reference level for display, filters and level-cross events.
- Offline chartsWorks with Renko and other offline charts too.
- Alerts on chart eventsRegular, hidden and predicted divergence, trendline break and approach, OBV direction and level events, with 5 trigger slots. Popup, push, email, sound, Telegram, CSV log or a chart pictogram. Highly customizable: alert timing (after the candle closes, before it closes, or both), a time window, an interval limit and a test message. Alerts also work on the trendlines and horizontal lines you draw yourself.
- Strategy Tester and fast backtestingRuns in the MetaTrader Strategy Tester, also for visual backtesting. Refresh and cache modes for repeated tests: the cache mode saves the results, so a repeated test is at least 700% faster.
Common questions about the OBV divergence indicator
What are the best settings for the OBV divergence indicator?
There is no single best setting. We chose the default settings to suit most traders. The indicator has many settings so that everyone can fit it to their own needs, and if you want something different, you can customize it. The PDF manual explains every setting.
How do traders read the OBV?
Traders read OBV as a line with its own trend: higher peaks and bottoms mean a rising OBV trend, lower ones a falling trend.
Is the OBV divergence indicator non repaint?
A normal divergence is drawn once the candle has closed and then stays fixed. The optional predicted mode marks a possible divergence earlier: its arrow and yellow line can disappear and come back until the candle closes, which is why they have their own color. On a multi timeframe setting, the closed candle of the higher timeframe decides. See how it works.
Does it work on MT4 and MT5?
Yes. TrueTL OBV Divergence is available for MetaTrader 4 and MetaTrader 5, with any broker, on demo or live accounts, and on any symbol the platform offers.
Can I get an alert?
Yes. Alerts for a new divergence and other chart events can come as a popup, push message, email, sound, Telegram message, CSV log line or a pictogram on the chart.
Do alerts work when my computer is off?
No. Alerts are sent by the MetaTrader terminal where the indicator runs, and MetaTrader does not run in the cloud: it runs on a computer, so the computer and MetaTrader must be on, with the indicator on a chart. If that is a problem, run MetaTrader with the indicators on a VPS (a remote Windows computer that is always on). Push messages are also sent only while MetaTrader is running, on your computer or on the VPS; they then arrive on your phone.
Is there a free version?
TrueTL OBV Divergence is part of the paid license; one license covers all 72 indicators. There is also a free MT4 & MT5 oscillator pack of 37 multi-timeframe oscillators. The free pack does not draw trendlines or divergences. The PDF manual is free to download.
More answers on the Support page.
One license, all 72 indicators
TrueTL OBV Divergence comes with the OBV Trendline indicator, True Trendline, True S/R Level and every other oscillator trendline and divergence indicator.


