Skip to content
On this page
  1. Key Takeaways
  2. What It Is
  3. The Intuition
  4. How It Works
  5. Worked Example
  6. Common Mistakes
  7. Frequently Asked Questions
  8. Sources
  9. Disclaimer
← All concepts
Technical AnalysisAdvanced5 min read

Ultimate Oscillator: Three Timeframes in One Line

The **ultimate oscillator**, developed by Larry Williams in 1976, blends momentum across short, medium, and long lookback windows into a single 0 to 100 line. By weighting three timeframes together, it aims to reduce the false signals that single-period oscillators produce in choppy markets.

Key Takeaways

  • The ultimate oscillator uses 7, 14, and 28-bar averages of buying pressure divided by true range, weighted 4 to 2 to 1.
  • The indicator ranges from 0 to 100, with traditional overbought above 70 and oversold below 30.
  • Investors often miss that Williams' published buy rule requires both a bullish divergence and a 30-line break, not just one of them.
  • Combining three timeframes filters out single-bar shocks better than any single-period stochastic or RSI.

Key Takeaways

  • The ultimate oscillator uses 7, 14, and 28-bar averages of buying pressure divided by true range, weighted 4 to 2 to 1.
  • The indicator ranges from 0 to 100, with traditional overbought above 70 and oversold below 30.
  • Investors often miss that Williams' published buy rule requires both a bullish divergence and a 30-line break, not just one of them.
  • Combining three timeframes filters out single-bar shocks better than any single-period stochastic or RSI.

What It Is

The ultimate oscillator is a momentum indicator that compares each bar's buying pressure to its true range, averages the ratio across three different lookback periods, and combines them into one weighted line. Larry Williams published it in 1976 and revisited it in Stocks and Commodities Magazine in 1985.

The output bounces between 0 and 100. Standard signal zones are above 70 for overbought and below 30 for oversold, similar to RSI. The default lookback periods are 7, 14, and 28, with weights of 4, 2, and 1.

The Intuition

A single-period oscillator like a 14-day stochastic captures only one time horizon of momentum. A sharp one-bar shock can dominate the reading. Williams argued that real momentum signals should hold across multiple horizons.

By blending a short, medium, and long lookback, the ultimate oscillator demands agreement between timeframes before it shifts into extreme territory. The 4-2-1 weighting still favors the shortest period, but the longer averages stabilize the line against single-bar noise.

How It Works

The calculation has three steps.

Step 1: Compute buying pressure and true range for each bar.

BP = Close - min(Low, PriorClose)
TR = max(High, PriorClose) - min(Low, PriorClose)

Buying pressure measures how much of the bar's range was claimed by buyers, using the lower of the current low and the prior close as the floor. True range is the bar's full range adjusted for gaps.

Step 2: Compute three averages of buying pressure over true range:

Avg7  = sum(BP, 7)  / sum(TR, 7)
Avg14 = sum(BP, 14) / sum(TR, 14)
Avg28 = sum(BP, 28) / sum(TR, 28)

Step 3: Combine with 4-2-1 weights and scale to a percentage:

UO = 100 * (4*Avg7 + 2*Avg14 + Avg28) / (4 + 2 + 1)

The result ranges from 0 to 100. Williams designed the weighting so that the shortest period dominates but cannot fully override the longer periods.

Worked Example

A stock trades over 28 bars in a clear uptrend, then pulls back two bars.

Suppose the rolling sums produce:

  • Avg7 = 0.65 (recent buying pressure 65 percent of true range)
  • Avg14 = 0.55
  • Avg28 = 0.50

The weighted average is:

UO = 100 * (4*0.65 + 2*0.55 + 1*0.50) / 7
   = 100 * (2.60 + 1.10 + 0.50) / 7
   = 100 * 4.20 / 7
   = 60.0

A reading of 60 sits in the bullish half but not overbought. Now imagine the next bar prints a sharp pullback that drops Avg7 to 0.30. With Avg14 still at 0.55 and Avg28 still at 0.50:

UO = 100 * (4*0.30 + 2*0.55 + 0.50) / 7 = 100 * 2.80 / 7 = 40.0

The reading drops 20 points in a single bar because the shortest period reacts fast, but the 14 and 28-period averages anchor the line and prevent it from crashing all the way to 30 on a single shock.

Common Mistakes

  1. Trading every threshold cross. Williams' published rule for buys requires three conditions: bullish divergence in the oscillator, the oscillator breaks the high of the divergence, and the divergence forms below 30. One condition alone is not the signal.
  2. Adjusting the periods without rebalancing weights. If you change 7-14-28 to 5-10-20, you should also reconsider the weights. The 4-2-1 ratio assumes the default periods.
  3. Reading absolute levels in isolation. A 75 reading in a bull market is less alarming than 75 in a sideways market. Use price structure as context.
  4. Ignoring the warmup. The 28-period average needs 28 bars of clean data. Backtests should drop the first 28 bars or the early values will be noisy.
  5. Confusing UO with momentum oscillators. UO is built on buying pressure relative to true range, not on price change like ROC or MACD. The two react differently to gaps and wide-range bars.

Frequently Asked Questions

What is the ultimate oscillator in simple terms? The ultimate oscillator is a momentum line that combines three different lookback windows into one number on a 0 to 100 scale. It rises when buyers are claiming most of each bar's range and falls when sellers dominate.

How does the ultimate oscillator affect investment decisions? Many traders use the ultimate oscillator to confirm divergences against price. Larry Williams' classic buy rule waits for a bullish divergence to form below 30, then enters when the oscillator breaks the divergence high.

What is a real-world example of the ultimate oscillator? On a stock that prints a lower low in price while the ultimate oscillator prints a higher low, the bullish divergence signals fading downside momentum. If the oscillator then crosses back above the previous swing high, that is Williams' textbook long entry.

How can investors use the ultimate oscillator effectively? Use the default 7, 14, 28 periods with 4-2-1 weights. Wait for the full divergence and breakout sequence rather than acting on overbought or oversold alone. Combine with a trend filter on the underlying chart.

How is the ultimate oscillator different from RSI? RSI uses a single lookback and is built on average gains versus average losses. The ultimate oscillator uses three lookbacks and is built on buying pressure versus true range. The triple timeframe tends to make UO less reactive to single shock bars.

Sources

  1. StockCharts ChartSchool. Ultimate Oscillator. https://chartschool.stockcharts.com/table-of-contents/technical-indicators-and-overlays/technical-indicators/ultimate-oscillator
  2. Fidelity Learning Center. Ultimate Oscillator (UO). https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/ultimate-oscillator
  3. TradingView. Ultimate Oscillator. https://www.tradingview.com/support/solutions/43000502328-ultimate-oscillator-uo/
  4. Williams, L. Larry Williams Ultimate Oscillator. I Really Trade. https://www.ireallytrade.com/ultimateoscillator/

Disclaimer

This article is educational content only and is not financial advice. Nothing here is a recommendation to buy, sell, or hold any security. Consult a licensed advisor before making investment decisions.

The IWP Substack

You understand the concept. Now see it applied.

The Investing With Purpose Substack turns ideas like this into research and risk-managed trade plans on real stocks, updated every week.

Read on Substack (opens in a new tab)

Related concepts