Home / Wiki / U / Ultimate Oscillator

Ultimate Oscillator

Trading and SpeculationUpdated 16 Nov 2026

The ultimate oscillator is a momentum oscillator that measures buying pressure over three different time frames and combines them into a single value between 0 and 100. By blending a short, a medium and a long period, it aims to avoid a weakness of many single-period oscillators, which can give misleading signals when a short-term move runs against the longer trend. High readings indicate that closes have consistently been near the top of each period's range; low readings indicate they have been near the bottom.

The indicator was developed by the American trader Larry Williams, who also created Williams %R, and was published in Technical Analysis of Stocks and Commodities magazine in 1985. It is a standard study in charting platforms and belongs to the same family as the stochastic oscillator and the relative strength index, but it measures the close against a range adjusted for gaps in the manner of the average true range.

01

Formula

For each bar, two quantities are calculated using the previous close, Ct−1C_{t-1}, to account for gaps:

BPt=Ct−min⁡(Lt,Ct−1)\text{BP}_t = C_t - \min(L_t, C_{t-1})
TRt=max⁡(Ht,Ct−1)−min⁡(Lt,Ct−1)\text{TR}_t = \max(H_t, C_{t-1}) - \min(L_t, C_{t-1})
  • BPt\text{BP}_t is buying pressure, the distance of the close above the true low.
  • TRt\text{TR}_t is the true range of the bar.
  • HtH_t, LtL_t and CtC_t are the high, low and close of the current bar.

For each of the three periods, usually 7, 14 and 28 bars, the sum of buying pressure is divided by the sum of true range, giving averages A7A_7, A14A_{14} and A28A_{28}, each between 0 and 1. The oscillator weights the shortest period most heavily:

UO=100×4A7+2A14+A287\text{UO} = 100 \times \frac{4 A_7 + 2 A_{14} + A_{28}}{7}

The weights of 4, 2 and 1 sum to 7, so the result stays between 0 and 100. Users can change the three periods, keeping each roughly double the one before.

02

Worked example

Suppose that over the last 7 bars buying pressure sums to 12.0 and true range to 20.0, giving A7=0.60A_7 = 0.60. Over 14 bars the ratio is A14=0.55A_{14} = 0.55, and over 28 bars it is A28=0.50A_{28} = 0.50. The ultimate oscillator is:

100×4×0.60+2×0.55+0.507=100×4.007≈57.1100 \times \frac{4 \times 0.60 + 2 \times 0.55 + 0.50}{7} = 100 \times \frac{4.00}{7} \approx 57.1

The reading of about 57 shows moderate buying pressure, stronger in the recent week than over the past month. For a single bar, if the high is 52, the low 49, the close 51 and the previous close 50, the true low is 49, the true high 52, buying pressure is 2 and true range is 3.

03

Signals

Williams designed the oscillator to be used mainly through divergence, with specific rules:

  • Buy signal. A bullish divergence forms when price makes a lower low but the oscillator makes a higher low, with the first low below 30. The signal is triggered when the oscillator then rises above the high it reached between the two lows.
  • Sell signal. A bearish divergence forms when price makes a higher high but the oscillator makes a lower high, with the first high above 70. The signal is triggered when the oscillator falls below the low between the two highs.
  • Exits. Williams suggested closing long positions when the oscillator rises above 70 and short positions when it falls below 30, among other exit rules.

Many users also apply the 70 and 30 levels in a simpler way, as markers of overbought and oversold conditions, though this departs from the original method.

04

Why three time frames

A single-period oscillator measured over a short window reacts quickly but often flags a market as overbought or oversold during brief swings within a larger trend. One measured over a long window is steadier but slow to react. Williams combined the two by weighting each period's buying pressure, so that a strong reading requires agreement across short, medium and long horizons. A sharp rally lasting only a few days lifts the 7-bar component but has less effect on the 28-bar component, which dampens the overall reading and makes extreme values less frequent than in a fast stochastic.

05

Limitations

The multi-period design reduces false signals but does not remove them, and full divergence setups are relatively rare, so the indicator may stay silent through large parts of a trend. In strong trends readings can remain above 70 or below 30 for long periods, and treating these as reversal signals can be costly. The choice of periods and thresholds affects results, and settings tuned on past data may not carry over to other markets or periods. Like all momentum indicators, the ultimate oscillator is calculated only from past prices and is best used as one input within broader technical analysis and risk management rather than as a forecast.

Last updated 16 Nov 2026