• The Ultimate Oscillator (UO) is a momentum-based technical indicator created by Larry Williams (published 1985). It measures price momentum across three timeframes (7, 14, 28 periods) and combines them as a weighted average to reduce sensitivity to short-term noise while keeping some responsiveness to recent price action. Values range 0–100. Common interpretation: 70 = overbought. (Source: Investopedia)
Key ideas (quick)
– Multi-timeframe momentum oscillator (7, 14, 28 periods).
– Weighted average: short-term has greatest weight (4), medium weight (2), long-term least weight (1).
– Generates signals mainly by divergence between price and the oscillator using a three-step confirmation method.
– Designed to reduce false divergences common to single-timeframe oscillators.
Ultimate Oscillator formula (compact)
Let:
– BP (Buying Pressure) = Close − min(Low, Prior Close)
– TR (True Range for the purpose of this indicator) = max(High, Prior Close) − min(Low, Prior Close)
Compute:
– A7 = sum(BP over 7 periods) / sum(TR over 7 periods)
– A14 = sum(BP over 14 periods) / sum(TR over 14 periods)
– A28 = sum(BP over 28 periods) / sum(TR over 28 periods)
Then:
UO = [ (A7 × 4) + (A14 × 2) + (A28 × 1) ] / (4+2+1) × 100
= [ (A7×4) + (A14×2) + A28 ] / 7 × 100
How to calculate the Ultimate Oscillator — step‑by‑step (practical)
1. Gather price series (High, Low, Close) and prior close for each bar/candle.
2. For each bar compute:
• BP = Close − min(Low, PriorClose)
• TR = max(High, PriorClose) − min(Low, PriorClose)
3. For each lookback:
• Sum BP and TR for the past 7 bars → compute A7 = sumBP7 / sumTR7
• Sum BP and TR for the past 14 bars → A14 = sumBP14 / sumTR14
• Sum BP and TR for the past 28 bars → A28 = sumBP28 / sumTR28
4. Combine the three averages with weights 4, 2, 1 and scale to 0–100:
• UO = [ (A7×4)+(A14×2)+A28 ] / 7 × 100
5. Plot UO (0–100). Common horizontal levels: 30 (oversold), 70 (overbought).
Worked (hypothetical) numeric example
– Suppose you computed:
• sum(BP over 7) = 42 ; sum(TR over 7) = 70 → A7 = 0.6
• sum(BP over 14) = 70 ; sum(TR over 14) = 140 → A14 = 0.5
• sum(BP over 28) = 120 ; sum(TR over 28) = 300 → A28 = 0.4
– UO = [ (0.6×4) + (0.5×2) + (0.4×1) ] / 7 ×100
= (2.4 + 1.0 + 0.4) / 7 ×100 = 3.8/7 ×100 ≈ 54.3
What the Ultimate Oscillator tells you
– Momentum direction and strength across multiple horizons.
– Overbought / Oversold: readings above ~70 may indicate overbought; below ~30 may indicate oversold (but not automatic buy/sell triggers).
– Divergence signals: when price and UO move in opposite directions (e.g., price makes lower low while UO makes higher low), suggesting weakening trend and possible reversal. Williams defined a three-step confirmation rule (below) to reduce false signals.
Williams’ three‑step divergence method (trading signals)
For a bullish divergence (potential buy):
1. Price makes a lower low.
2. UO does NOT make a lower low (it makes a higher low or a less extreme low).
3. UO then rises above the high of the divergence region (the oscillator high formed during divergence). When UO clears that high, Williams treated that as the trigger to buy.
For a bearish divergence (potential sell):
1. Price makes a higher high.
2. UO does NOT make a higher high.
3. UO then falls below the low of the divergence region — that break is the sell trigger.
Note: This 3‑step method reduces false signals but also can delay entries (may miss early part of a move).
The Ultimate Oscillator vs. other oscillators
– Versus Stochastic Oscillator:
• Stochastic is typically single‑timeframe and compares close to the high‑low range over N periods. Stochastic often has a signal line; UO usually does not. Both use divergence and overbought/oversold levels, but the UO’s multi‑timeframe weighting seeks fewer false divergences.
– Versus RSI:
• RSI (commonly 14 periods) measures average up/down changes on a 0–100 scale (overbought >70, oversold <30). RSI uses one timeframe; UO blends three. UO can be smoother and less reactive to very short-term moves.
Limitations and common pitfalls
– Lag and missed moves: The confirmation step reduces false signals but can delay entries and miss a large part of a reversal.
– Fewer signals: Multi‑timeframe averaging produces fewer divergence signals, which can be good (less noise) or bad (missed opportunities).
– Not a standalone system: Divergence does not always lead to reversal. Overbought/oversold readings can persist during strong trends.
– False signals in choppy markets: Like other oscillators, UO can whipsaw in sideways markets.
– Parameter sensitivity: Default (7,14,28) is standard; changing periods alters responsiveness.
Practical steps to use the Ultimate Oscillator in a trading plan
1. Add the UO (default 7/14/28) to your chart with horizontal lines at 30 and 70.
2. Define your market context:
• Prefer using UO signals that align with the higher‑timeframe trend (e.g., buy divergences in an uptrend).
3. Look for setups:
• Divergence per Williams’ three-step method, or
• Oversold (70) + bearish price action for shorts.
4. Confirm with additional tools:
• Price structure (support/resistance, trend lines), volume, moving averages, or another momentum indicator (e.g., RSI, MACD).
5. Manage risk:
• Use stop-loss (below recent low for long, above recent high for short), position sizing, and a defined target or trailing stop.
6. Backtest & paper trade:
• Test the UO rules on historical data and demo trading before committing capital.
7. Monitor trade management rules (size, exits, partial profits), and avoid trading purely on indicator crosses or readings.
Example workflow (entry to exit)
– Setup: Daily chart in a bullish market; price forms a pullback and makes a lower low, UO forms higher low (bullish divergence).
– Confirmation: Wait for UO to break above the divergence high (Williams’ step 3) OR price to break a short-term resistance/candle close above moving average.
– Entry: Enter long on confirmation.
– Stop: Place stop below the recent swing low.
– Target: Use prior resistance, a risk-reward ratio (e.g., 2:1), or a trailing stop.
– Exit/Manage: If UO reaches overbought >70 and forms bearish divergence, consider scaling out or tightening stops.
Best practices
– Use UO as part of a multi-factor plan (trend context, volume, price action).
– Backtest on the instrument and timeframe you trade—oscillator behavior differs between stocks, forex, crypto, and indices.
– Consider different confirmatory rules (e.g., UO crossing a moving average) but validate them historically.
– Keep position sizes and risk per trade consistent.
Bottom line
The Ultimate Oscillator is a multi‑timeframe momentum oscillator designed to reduce false divergences typical of single‑timeframe oscillators. It’s most useful for spotting divergence-based reversal setups and smoothing short-term noise with weighted averages. However, its confirmation rules can delay entries, and it should always be used in combination with trend/context analysis, risk management, and confirmatory signals.
Source
– Investopedia, “Ultimate Oscillator” (Larry Williams)
( 1) compute the UO for a small dataset you provide; 2) show a chart example and mark divergence points; or 3) provide a backtest outline for a specific market/timeframe.)
Interpreting the Relative Strength Index (RSI) reference and finishing up the Investopedia discussion:
– The RSI is a popular single-timeframe momentum oscillator introduced by J. Welles Wilder in 1978. Like the Ultimate Oscillator (UO), its scale runs 0–100 and uses conventional overbought/oversold thresholds (commonly 70/30). The UO differs by blending short-, medium-, and longer-term momentum to reduce sensitivity to only near-term swings.
– The Investopedia “Bottom Line” is that the Ultimate Oscillator is useful for traders who want momentum signals smoothed across multiple timeframes, but it should not be used alone and requires careful understanding and testing before deploying in live trading.
Below I continue by adding practical sections, examples, implementation tips, and a final summary.
How the Ultimate Oscillator Is Constructed — Intuition
– Buying Pressure (BP): measures how forcefully price closes above the lowest price of the period or the prior close. It captures short-term bullish pressure on a per-bar basis.
– True Range (TR): captures the price range relevant to the period, accounting for gaps (largest of high vs prior close minus lowest of low vs prior close).
– Averages for 7, 14, 28 periods: each average is the ratio of the sum of BP to the sum of TR over that lookback window. A short-term average (7) is weighted most, medium (14) gets medium weight, and long-term (28) least weight.
– Weighted blend: the three averages are combined with weights 4:2:1 and scaled to 0–100 to produce UO. This multi-timeframe blend reduces false divergences and overreaction to single-day moves.
Ultimate Oscillator Formula (compact)
UO = [ (A7 × 4) + (A14 × 2) + (A28 × 1) ] / (4 + 2 + 1) × 100
where for each period window (n = 7, 14, 28):
A_n = Sum(BP over n periods) / Sum(TR over n periods)
BP = Close − min(Low, Prior Close)
TR = max(High, Prior Close) − min(Low, Prior Close)
Step-by-step: How to Calculate the Ultimate Oscillator (practical steps)
1. Gather price series (Open, High, Low, Close) and ensure Prior Close is available for the first bar you compute.
2. For each bar (day/candle):
a. Compute BP = Close − min(Low, Prior Close).
b. Compute TR = max(High, Prior Close) − min(Low, Prior Close).
3. Maintain rolling sums of BP and TR for the last 7, 14, and 28 periods.
• SumBP7 = sum of BP over last 7 bars; SumTR7 = sum of TR over last 7 bars. Compute A7 = SumBP7 / SumTR7.
• Similarly compute A14 and A28 using 14 and 28 period rolling sums.
4. Compute weighted average:
weighted = (A7 * 4 + A14 * 2 + A28 * 1) / 7
5. Multiply by 100 to produce UO (0–100).
Numerical example (simplified to illustrate the math)
Suppose after computing BP and TR for the last 7/14/28 bars, you get:
– SumBP7 = 12.3, SumTR7 = 20.5 => A7 = 12.3 / 20.5 = 0.600
– SumBP14 = 22.0, SumTR14 = 40.0 => A14 = 22.0 / 40.0 = 0.550
– SumBP28 = 40.0, SumTR28 = 88.0 => A28 = 40.0 / 88.0 = 0.455
Weighted average = (0.600 × 4 + 0.550 × 2 + 0.455 × 1) / 7
= (2.400 + 1.100 + 0.455) / 7
= 3.955 / 7 = 0.565
UO = 0.565 × 100 = 56.5
Interpretation: UO = 56.5 → momentum is mildly bullish but not overbought (no threshold breach).
Trading Signals: Practical Rules and the Three-Step Divergence Method
Larry Williams’ recommended three-step method for bullish divergence (buy):
1. Identify a bullish divergence: price makes a lower low while UO makes a higher low.
2. Confirm that UO has moved above the level of the prior divergence high (the high between the two UO lows).
3. Enter when the UO closes above that divergence high (i.e., the oscillator breaks the intervening high), or confirm with price breakout/volume depending on your plan.
Three-step method for bearish divergence (sell/short):
1. Price makes a higher high while UO makes a lower high (bearish divergence).
2. Wait for UO to move below the intervening low on the oscillator.
3. Enter when UO closes below that low (or combine with price confirmation).
Practical entry/exit/stops example (concrete trade plan)
– Instrument: daily chart of stock XYZ.
– Signal: bullish divergence identified where priceLL (lower low) occurs at $50 while UO forms a higher low; the UO intervening high is 38.
– Entry: buy when UO closes above 38 (or when price breaks a nearby resistance after UO confirmation).
– Stop-loss: place a stop below recent price swing low (e.g., $48) or a volatility-based stop (e.g., ATR-based).
– Target: set initial target at nearest resistance or use risk:reward 1:2; trail stop using a moving average or trailing ATR as trade moves in your favor.
– Position sizing: risk no more than 1–2% of portfolio on the trade. Compute position size using (account risk / (entry − stop)).
Example trade (numbers):
– Entry price: $52 (after UO confirmation)
– Stop: $48 (risk $4 per share)
– Account risk = $400 (1% of $40,000 account)
– Position size: $400 / $4 = 100 shares
– Target (1:2 R:R): $52 + $8 = $60
Combining the Ultimate Oscillator with Other Tools (practical tips)
– Trend filter: use a longer moving average (e.g., 50- or 200-day MA) to trade only in the trend direction (take bullish UO signals when price is above MA).
– Confirm with volume: divergence with increasing volume on the breakout is stronger confirmation.
– Use support/resistance or price pattern confirmation to refine entries (e.g., UO bullish divergence plus breakout above a neckline).
– Complement with momentum indicators like RSI or MACD to cross-validate signals. If both UO and RSI show bullish divergence, signal strength is higher.
– Avoid relying solely on overbought/oversold bands (UO > 70 or 34, confirm price action: look for price breakout above a resistance line or increase in volume.
5. Enter per plan; set stops and targets.
Risk Management — rules of thumb
– Risk per trade: commonly 1–2% of total equity.
– Stop placement: price-based (recent swing), volatility-based (1–2 × ATR), or structure-based (below support).
– Position sizing: use the dollar risk divided by distance to stop to calculate position size.
– Diversification & correlation: avoid taking many correlated UO signals at once that concentrate portfolio risk.
Common FAQs (short)
– Q: Is UO better than RSI? A: Neither is universally better. UO reduces single-timeframe noise and false divergences but may lag; RSI is simpler and more responsive. Choice depends on strategy and timeframe.
– Q: Does UO work on stocks, forex, crypto? A: It can be applied across asset classes, but behavior differs: some assets trend strongly, where oscillator signals are less helpful.
– Q: Can UO be used for day trading? A: Yes, with adapted lookbacks and careful testing; intraday noise can still generate false signals.
Research and sources
– Larry Williams, originator of the Ultimate Oscillator; original description published in Stocks & Commodities (Williams’ writings).
– Investopedia: “Ultimate Oscillator” (reference and practical description).
– Additional learning: charting platforms’ indicator documentation and coding libraries (e.g., TradingView Pine Script, pandas for Python).
Concluding summary
The Ultimate Oscillator is a useful momentum oscillator that blends three timeframes (7, 14, 28) to reduce the frequency of false divergences common to single-timeframe oscillators. It produces values between 0 and 100 and traditionally interprets values below 30 as oversold and above 70 as overbought. Larry Williams’ three-step divergence method can help validate signals, but it tends to be conservative and can produce late entries. For practical trading, treat the UO as one tool within a broader plan: combine it with trend filters, price action confirmation, and strict risk management. Always backtest any UO-based strategy on your chosen asset and timeframe and paper trade before committing real capital.
References
– Williams, Larry. Ultimate Oscillator. Stocks & Commodities magazine (original description).
– Investopedia: “Ultimate Oscillator”
– Additional sources on technical indicators and RSI (Wilder, J. Welles).