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
Buying pressure
BP = close − the lower of today’s low and the previous close.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
Three averages
Average7 = sum of BP over 7 bars ÷ sum of TR over 7 bars; Average14 and Average28 are built the same way.1
Weight and scale
UO = 100 × [(4 × Average7) + (2 × Average14) + Average28] ÷ 7. The weights 4, 2 and 1 add up to 7.2
Note the zones
Readings below 30 count as oversold and above 70 as overbought.2
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 barThe previous close is $40.00 (hypothetical prices). Today the stock gaps up: low $40.60, high $41.50, close $41.20.
| 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
FormulaOver 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.
| Average7 | 9.80 ÷ 14.00 = 0.70 |
| Average14 | 16.80 ÷ 28.00 = 0.60 |
| Average28 | 30.80 ÷ 56.00 = 0.55 |
| Weighted sum | 4 × 0.70 + 2 × 0.60 + 0.55 = 4.55 |
| Ultimate oscillator | 100 × 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 ruleA 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.
| Price lows | $50, then $48 (lower low) |
| Oscillator lows | 26, then 34 (higher low) |
| Divergence low below 30? | Yes, 26 |
| Trigger level | Oscillator high of 45 |
| Signal | Buy 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
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
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
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.
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.
Forgetting the trigger
Acting at the second low, before the oscillator breaks its high between the lows, means entering before the setup is complete.
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.
Key points to remember
- Buying pressure = close − the lower of today’s low and the previous close.
- UO = 100 × [(4 × Average7) + (2 × Average14) + Average28] ÷ 7.
- Below 30 is oversold and above 70 overbought.
- The classic signal needs a divergence, a reading past 30 or 70, and a break of the intervening extreme.
- Blending three windows reduces false divergences but does not remove them.
Frequently asked questions
What are the standard ultimate oscillator settings?
Is the ultimate oscillator good for day trading?
How is the ultimate oscillator different from the stochastic oscillator?
Further learning
- Divergence
The pattern the ultimate oscillator’s signals are built on.
- Williams %R
Another Larry Williams oscillator, with a single lookback.
- Average True Range
Where the true range in the formula comes from.
- Relative Strength Index
The best-known single-period momentum oscillator.
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.
- Fidelity. Ultimate Oscillator (opens in a new tab) Checked .
- StockCharts ChartSchool. Ultimate Oscillator (opens in a new tab) Checked .
- 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.