Skip to content
Menu

Ultimate Oscillator

By Chad Smith, Director of Research & Analysis · Updated

On this page
  1. What it measures
  2. The formula
  3. Default settings
  4. How to read it
  5. Ultimate Oscillator vs RSI and Williams %R
  6. Common strategies
  7. Weaknesses
  8. Indicators it pairs with
3070UO 7, 14, 28
Illustration, not real price data

The Ultimate Oscillator is a momentum indicator that combines buying pressure across three timeframes into one line on a 0 to 100 scale. Larry Williams developed it in 1976. He wanted to fix a common problem with single-period oscillators: they swing to extremes too easily and give divergence signals that fail. By blending short, medium and long periods, the Ultimate Oscillator aims to smooth those swings while staying responsive.

What it measures

The Ultimate Oscillator measures buying pressure: how far each bar's close sits above its true low, relative to the bar's true range. A close near the top of the true range means strong buying pressure. A close near the bottom means weak buying pressure.

It averages this buying pressure over three windows, 7, 14 and 28 bars by default, and then combines them with heavier weight on the shortest. The result is a single line that reflects short-term momentum without being dominated by it.

The "true" low and range use the previous close, like ATR. That means gaps are included in the measurement.

The formula

True Low (TL)    = the lower of Low and Previous Close
True High (TH)   = the higher of High and Previous Close
Buying Pressure (BP) = Close − TL
True Range (TR)  = TH − TL

Average7  = sum of BP over 7 bars  / sum of TR over 7 bars
Average14 = sum of BP over 14 bars / sum of TR over 14 bars
Average28 = sum of BP over 28 bars / sum of TR over 28 bars

UO = 100 × (4 × Average7 + 2 × Average14 + 1 × Average28) / (4 + 2 + 1)

Worked example (illustrative numbers). Suppose Average7 is 0.65, Average14 is 0.55 and Average28 is 0.50. The weighted sum is (4 × 0.65) + (2 × 0.55) + (1 × 0.50) = 2.60 + 1.10 + 0.50 = 4.20. Dividing by 7 gives 0.60, and multiplying by 100 gives 60. Closes have tended to land in the upper part of their true ranges, especially recently, but the reading is not near the overbought level of 70.

Default settings

SettingConventional value
Short period7 (weight 4)
Medium period14 (weight 2)
Long period28 (weight 1)
Overbought70
Oversold30

The Ultimate Oscillator is built into TradingView and many other platforms; on MetaTrader it is commonly available as a custom indicator.

How to read it

Overall level. Readings above 50 suggest buying pressure has the upper hand; below 50, selling pressure does. Readings above 70 are overbought and below 30 are oversold.

Williams' buy signal. Williams designed a specific three-step buy rule: a bullish divergence forms, with price making a lower low while the oscillator makes a higher low; the low of that divergence is below 30; and the oscillator then rises above the high it made between the two lows. The sell rule is the mirror image above 70.

Exits. Williams suggested exiting long positions when the oscillator rises above 70, or when it rises above 50 and then falls below 45. Shorts were exited by the reverse rules.

Without divergence. Simple moves into overbought or oversold are not signals in Williams' approach. The oscillator was designed around divergence.

Ultimate Oscillator vs RSI and Williams %R

RSI uses a single period and compares the size of closing gains with closing losses. The Ultimate Oscillator uses three periods and compares the close with each bar's true low and true range. It is closer in spirit to the stochastic oscillator, but adds multiple timeframes and accounts for gaps.

Williams %R is another Larry Williams tool. It is a single-period range oscillator and reaches extremes easily. The Ultimate Oscillator was partly his answer to that sensitivity.

Because it blends timeframes, the Ultimate Oscillator generally reaches extremes less often than single-period oscillators, which makes its divergences rarer but more structured.

Common strategies

Williams' divergence setup

Follow the three-step rule: divergence, the divergence low below 30 (or high above 70 for sells), and a break of the oscillator's intermediate high (or low). Place the stop-loss beyond the price low of the setup.

Trend filter with 50

Use readings above 50 as a bullish bias and below 50 as a bearish bias, timing entries with price action or a faster tool.

Range trading

In sideways markets, readings near 70 near resistance and near 30 near support can give context for fading the edges of a range, though this departs from Williams' original rules.

Confirmation for other signals

Some traders use the Ultimate Oscillator to confirm signals from trend tools. A breakout with the oscillator rising above 50 has momentum behind it.

Adjusting the periods

The three periods can be changed, as long as each is roughly double the one before it. A trader on a fast intraday chart might use shorter settings, while a position trader might lengthen them. Changing the periods breaks the link with Williams' original testing, so most traders keep the standard values and adjust the timeframe instead.

Weaknesses

Williams' full buy and sell rules occur rarely. Traders who wait for the complete setup may go long stretches without a signal.

It still lags. The 28-period component slows the oscillator, and the weighted average delays turns.

Divergence can persist. As with all oscillators, price can keep trending while the indicator diverges.

Overbought and oversold readings alone are weak signals. Treating them as reversals contradicts the design and fights trends.

Indicators it pairs with

  • Moving averages or ADX, to judge trend before reading divergence.
  • RSI, for a single-period comparison.
  • Williams %R, for a faster view of range position.
  • ATR, for stops that account for current volatility.
  • Volume tools such as OBV, to confirm divergence with volume behavior.

For more on oscillators and divergence, see the technical analysis course.

Brokers with strong charting to practice on

Put this into practice on a demo account first, with no money at risk.

Frequently asked questions

What does the Ultimate Oscillator measure?

It measures buying pressure relative to the true range of each bar, averaged over three different timeframes. Combining the timeframes is meant to reduce false signals from any single period.

Who created the Ultimate Oscillator?

Larry Williams introduced it in 1976. He also created Williams %R.

What are the standard Ultimate Oscillator settings?

The standard periods are 7, 14 and 28, with weights of 4, 2 and 1. The shortest period gets the most weight.

What overbought and oversold levels are used?

Williams used 70 as overbought and 30 as oversold, mainly as zones in which divergence signals form.

How is the Ultimate Oscillator different from RSI?

RSI uses one period and compares closing gains with losses. The Ultimate Oscillator uses three periods and compares the close with the bar's true low and true range.