Oscillator divergence · MT4 & MT5

Ultimate Oscillator (UO) Divergence Indicator for MT4 & MT5

Regular and hidden divergences between price and the Ultimate Oscillator (UO), found automatically and drawn on the price chart, in the UO window, or both. Get an alert when a new divergence is confirmed. Optional predicted divergence marks a possible divergence earlier: see how it works.

UO Divergence Indicator on AUDUSD D1 MetaTrader Chart

What is the Ultimate Oscillator (UO)?

The idea: What is UO?

The Ultimate Oscillator (UO) was developed by Larry Williams in 1976 and presented in Stocks & Commodities in 1985. It measures buying pressure: the distance from the close to the lower of the current low and the previous close, compared with the true range of the bar. For each of three lookback periods (by default 7, 14 and 28) it sums the buying pressure and divides it by the sum of the true range, then combines the three results with weights 4:2:1 on a 0–100 scale.

Williams combined three lookback periods to fix a common fault of one-period oscillators: they peak early in a rally and then show bearish divergences while the rally continues.

How traders read it

Williams built his rules around divergences. For a bullish setup, price makes a lower low while UO makes a higher low, and the first, lower UO low is below 30. It is confirmed when UO rises above the high between the two lows. For a bearish setup, price makes a higher high while UO makes a lower high, and the first, higher UO high is above 70, confirmed when UO falls below the low between them. Readings above 50 suggest a bullish bias, below 50 a bearish bias.

What to watch for

With some instruments and settings, readings beyond 70 or below 30 may be infrequent, and a setup can stay unconfirmed for a long time. Use UO with the price chart and other tools.

In TrueTL the upper and lower levels are 70 and 30 by default.

TrueTL UO divergence indicator: how it works

TrueTL UO Divergence compares the peaks and bottoms of UO with price and finds regular and hidden, bullish and bearish divergences. It draws them on the price chart, in the UO 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.

UO 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 toolsUO 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, UO window, or bothChoose where the divergence lines are drawn.
  • FiltersMaximum distance, candle bodies, UO level, value tolerance and detection sensitivity.
  • Bullish, bearish or allShow all divergences, or only the bullish or only the bearish ones.
  • Other timeframesCalculate UO on a higher or lower timeframe and see it on your chart, with optional smoothing.
  • Overbought and oversold levelsUpper and lower levels (by default 70 and 30), with an optional middle 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, UO 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.

UO divergence indicator screenshots

Common questions about the UO divergence indicator

What are the best settings for the UO 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.

What are the default settings of the UO divergence indicator in TrueTL?

In TrueTL the upper and lower levels are 70 and 30 by default.

How do traders read the UO?

Williams built his rules around divergences. For a bullish setup, price makes a lower low while UO makes a higher low, and the first, lower UO low is below 30.

Is the UO 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 UO 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 UO 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 UO Divergence comes with the UO Trendline indicator, True Trendline, True S/R Level and every other oscillator trendline and divergence indicator.