Ultimate OscillatorUO

The ultimate oscillator blends buying pressure over three lookback periods, usually 7, 14 and 28 bars, into one weighted line that moves between 0 and 100.

Most momentum oscillators look at one lookback period. In a strong advance that single window can show “overbought” and a bearish divergence while the rally keeps going. Larry Williams built the ultimate oscillator to soften that problem by blending a short, a medium and a long window into one reading.1 This entry explains buying pressure, the 4-2-1 weighting, Williams’s three-step divergence signals and where the indicator still falls short.

Category
Indicators and Tools
Reading time
7 min
Also called
Williams ultimate oscillator, Ultimate oscillator indicator, Larry Williams ultimate oscillator
Updated

The ultimate oscillator in plain words

For each bar, the indicator asks how far the close got above the bar’s true low, compared with the bar’s full true range. Sum those over 7, 14 and 28 bars, weight the short window most and the long window least, and scale the result to 0–100.2

Larry Williams developed it in 1976, and it was featured in Stocks & Commodities magazine in 1985.2 Its main use is not simple overbought and oversold readings but a specific divergence pattern with set rules.3

How to calculate and read the ultimate oscillator, step by step

  1. Buying pressure

    BP = close − the lower of today’s low and the previous close.2

  2. True range

    TR = the higher of today’s high and the previous close − the lower of today’s low and the previous close.2

  3. Three averages

    Average7 = sum of BP over 7 bars ÷ sum of TR over 7 bars; Average14 and Average28 are built the same way.1

  4. Weight and scale

    UO = 100 × [(4 × Average7) + (2 × Average14) + Average28] ÷ 7. The weights 4, 2 and 1 add up to 7.2

  5. Note the zones

    Readings below 30 count as oversold and above 70 as overbought.2

  6. Wait for the full signal

    A buy needs a bullish divergence, a divergence low below 30, and then a rise above the oscillator’s high between the two lows. A sell is the mirror image above 70.1

Worked examples

Example 1 — Buying pressure after a gap

One bar

The previous close is $40.00 (hypothetical prices). Today the stock gaps up: low $40.60, high $41.50, close $41.20.

Example 1 — Buying pressure after a gap — calculation
Lower of low and prior close$40.00
Buying pressure$41.20 − $40.00 = $1.20
True range$41.50 − $40.00 = $1.50
BP as share of TR$1.20 ÷ $1.50 = 0.80

Because the previous close is below today’s low, it becomes the true low. The gap counts as buying pressure instead of being ignored.

Example 2 — Combining the three windows

Formula

Over the last 7, 14 and 28 bars the sums of buying pressure are 9.80, 16.80 and 30.80; the sums of true range are 14.00, 28.00 and 56.00.

Example 2 — Combining the three windows — calculation
Average79.80 ÷ 14.00 = 0.70
Average1416.80 ÷ 28.00 = 0.60
Average2830.80 ÷ 56.00 = 0.55
Weighted sum4 × 0.70 + 2 × 0.60 + 0.55 = 4.55
Ultimate oscillator100 × 4.55 ÷ 7 = 65

The short window is the strongest here, and its weight of 4 pulls the result up, but the weaker long window keeps the reading below 70.

Example 3 — A complete buy signal

Divergence rule

A stock falls to $50 while the oscillator bottoms at 26. It bounces, with the oscillator peaking at 45, then falls to a lower low of $48 while the oscillator only drops to 34.

Example 3 — A complete buy signal — calculation
Price lows$50, then $48 (lower low)
Oscillator lows26, then 34 (higher low)
Divergence low below 30?Yes, 26
Trigger levelOscillator high of 45
SignalBuy when it rises above 45

All three of Williams’s conditions are needed: the divergence, the dip below 30 and the break of the high between the lows.2 Until the oscillator clears 45 there is no signal.

Ultimate oscillator vs. single-period oscillators

AspectLookbackMain signal
Ultimate oscillator7, 14 and 28 bars, weighted 4-2-13Three-step divergence with 30/701
Stochastic oscillatorOne window, usually 14Overbought/oversold and %K/%D crosses
Williams %ROne window, usually 14Overbought/oversold readings

How traders use the ultimate oscillator

  • Divergence entries

    Williams’s rules turn a vague divergence into a defined setup with a trigger level.1 See Divergence.

  • Filtering false divergences

    Mixing three windows aims to cut the false divergences a single-period oscillator produces, though it does not remove them.3

  • Gauging buying pressure

    The line rises when closes sit near the top of their true ranges and falls when they sit near the bottom.3

  • Checking stretched moves

    Readings above 70 or below 30 flag moves to watch, in the same way as other Overbought and Oversold tools.

Advantages and disadvantages

Advantages

  • Combines short, medium and long momentum in one bounded line.
  • Uses true range, so gaps are counted in both buying pressure and range.
  • Williams’s three-step rule gives a clear, testable trigger.
  • The 0–100 scale makes readings easy to compare across markets.

Disadvantages

  • The full divergence signal is rare, so it can sit idle for long periods.
  • False divergences still happen; blending windows only reduces them.3
  • In quiet markets the 30/70 levels may seldom be reached, and in volatile ones too often.3
  • It is not meant to be used as a stand-alone signal system.3

Going deeper

Read as far as you need. Each level builds on the one before it.

Why it stays between 0 and 100

Beginner

Buying pressure can never be bigger than the true range, and it is never negative. So each of the three averages lies between 0 and 1, their weighted mix does too, and multiplying by 100 gives a scale from 0 to 100.

The point of three windows

Intermediate

A single short window can turn overbought early in a strong advance and show a bearish divergence while prices keep rising. Weighting a 7-bar window most heavily keeps the line responsive, while the 14- and 28-bar windows hold it back from reacting to every short swing.1

Tuning and testing

Advanced

The periods and the 30/70 levels can be changed, and the levels that work depend on how volatile the instrument is, so test them on its history first.3 Doubling all three periods keeps the 1:2:4 ratio but makes the line slower.

Platforms may round or seed the first sums differently, so early values on a new chart can differ slightly from a hand calculation.

Common mistakes

  1. Buying every reading under 30

    Williams’s rule needs a divergence and a break of the intervening high. An oversold reading alone is not the signal.

  2. Using a plain high–low range

    Buying pressure and true range both use the previous close when it lies outside today’s bar. Leaving it out understates gaps. See Average True Range.

  3. Forgetting the trigger

    Acting at the second low, before the oscillator breaks its high between the lows, means entering before the setup is complete.

  4. Ignoring the trend

    Bullish divergences in a strong downtrend can fail repeatedly. Read the Trend first.

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1Average7 = 0.50, Average14 = 0.40 and Average28 = 0.30. What is the ultimate oscillator?
Q2Price makes a lower low and the oscillator a higher low, with the first oscillator low at 38. Is Williams’s buy setup in place?

Key points to remember

  1. Buying pressure = close − the lower of today’s low and the previous close.
  2. UO = 100 × [(4 × Average7) + (2 × Average14) + Average28] ÷ 7.
  3. Below 30 is oversold and above 70 overbought.
  4. The classic signal needs a divergence, a reading past 30 or 70, and a break of the intervening extreme.
  5. Blending three windows reduces false divergences but does not remove them.

Frequently asked questions

What are the standard ultimate oscillator settings?

Periods of 7, 14 and 28 bars with weights of 4, 2 and 1.1

Is the ultimate oscillator good for day trading?

It can be applied to any timeframe, but the full divergence signal is rare on any chart. On short intraday bars, tune the periods and levels to the instrument’s volatility and test them first.3

How is the ultimate oscillator different from the stochastic oscillator?

The Stochastic Oscillator compares the close with the high–low range of one window. The ultimate oscillator measures buying pressure against true range across three windows and blends them.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. Fidelity. Ultimate Oscillator (opens in a new tab) Checked .
  2. StockCharts ChartSchool. Ultimate Oscillator (opens in a new tab) Checked .
  3. TradingView. Ultimate Oscillator (UO) (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.