Ultimate Oscillator Node
Multi-Period True Range Momentum
Overview
Ultimate Oscillator combines three momentum cycles to create a multi-timeframe view of buying/selling pressure. Unlike single-period oscillators, UO measures buyer/seller commitment across short (7-period), intermediate (14-period), and long (28-period) cycles simultaneously. This three-layer approach captures momentum at multiple speeds, revealing when short-term moves align (or diverge from) longer-term trends.
Traders prize Ultimate Oscillator for its oscillation between 0-100 with clear zones (above 70 = overbought, below 30 = oversold), its minimal whipsaws due to multi-cycle construction, and its excellent divergence detection capabilities. UO excels at identifying when shorter-term reversals are likely to extend into longer-term moves versus when they're just noise.
Formula
Ultimate Oscillator combines three true range buying pressure cycles:
TR = Max(High, Previous Close) - Min(Low, Previous Close)
Weight 2: 14-period = medium cycle balance
Weight 1: 28-period = long-term trend context
Result: Responsive to immediate moves but anchored to longer trends
The 4:2:1 weighting prioritizes short-term momentum while respecting longer-term direction. This makes UO responsive to intraday reversals yet grounded in weekly trends. The true range normalization makes UO work across all volatility environments without parameter adjustment.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| fast_period | number | 7 | Short-term cycle lookback (weighted 4×). |
| medium_period | number | 14 | Medium-term cycle (weighted 2×). |
| slow_period | number | 28 | Long-term cycle (weighted 1×). |
💡 Tip: Don't modify default parameters. The 7-14-28 cycle structure is optimal (each is double the prior). The 4:2:1 weighting is mathematically proven to balance responsiveness with stability. These parameters work across all timeframes unchanged.
Common Use Cases
1. Multi-Timeframe Momentum Confirmation
UO above 70 = all three timeframes in agreement (overbought). UO below 30 = all three timeframes agree (oversold). UO near 50 = timeframe disagreement (uncertainty). This multi-level view tells you when your bias is confirmed across cycles vs. when you need caution.
2. Divergence Trading - Multi-Cycle Weakness
UO divergences are powerful because they require agreement breaking down across all three cycles. Price at new high but UO lower = short-term, medium, and long-term momentum all failing. These multi-level divergences predict reversals with remarkable accuracy.
3. Reversal Trading - Overbought/Oversold Extremes
UO above 70 and lower low = short-term reversal warning. UO below 30 and higher high = reversal setup. The oscillation pattern combined with extremes identifies exhaustion bars precisely, enabling mean reversion entries with defined risk.
4. Trend Alignment Check - When Pullbacks Are Safe
In uptrends, pullbacks while UO above 40 = safe shorts (long-term still bullish). Pullbacks while UO below 40 = dangerous (trend potentially ending). UO tells you whether pullbacks are consolidations or reversals by showing if longer cycles still align with direction.
Advantages & Limitations
Advantages
- •Multi-cycle construction creates few false signals
- •Clear zones (30-70) provide easy reversal identification
- •Excellent divergence detection across timeframes
- •Works unchanged across all volatility and assets
- •Balanced weighting prevents dominance by fast cycles
Limitations
- •Less responsive than single-cycle indicators (by design)
- •Can lag by 2-3 bars in fastest reversals
- •Requires 28 bars of data before reliable (monthly slowness)
- •May stay near extremes longer than desired in strong trends
Tips & Best Practices
💡 Trade Extremes Over Middle
UO above 70 or below 30 provides strongest reversals. Middle zone (30-70) is low conviction. Focus only on trades when UO approaches extremes then reverses, not when it's drifting in the middle zone. This discipline cuts false signal rate dramatically.
📊 Use for Timeframe Alignment
One of UO's best uses: determine if your timeframe aligns with bias. Planning to buy on 4-hour but UO is below 30 on daily? Daily buying pressure is weakening - high risk. Respect UO's multi-timeframe view when planning daily direction.
⚡ Divergences = Strength Fades
UO divergences (price new high, UO lower) work because the multi-cycle structure means all three timeframes agree that strength is fading. Single-period divergences may fail, but multi-cycle UO divergences are major. Treat them as reversal predictions, not just warnings.
⚠️ Don't Modify Parameters
The 7-14-28 cycle structure and 4:2:1 weighting are mathematically optimized. Adjusting them destroys the multi-cycle harmony. If you feel UO is too slow, that's the design working correctly - use faster indicators if needed, but don't break UO's structure.
Example Strategy
Here's an Ultimate Oscillator multi-timeframe strategy:
UO Multi-Timeframe Reversal Trade
1Setup (Using Daily + Weekly Alignment)
- →Check weekly UO: above 70 (overbought) or below 30 (oversold)
- →Confirm on daily UO: also in extreme zone matching weekly direction
- →Watch for divergence or reversal bar in daily price action
2Entry Signal (Short Example)
- →Weekly: UO above 75 (clearly overbought)
- →Daily: UO above 72 + price makes new high
- →Reversal Signal: UO divergence forms (price new high, UO lower) or reversal candle
- →Short entry below reversal candle low on next pullback
3Exit Signal
- →UO crosses back above 70 (momentum reversal failed)
- →Or daily UO climbs above 75 again (original overbought escalates)
- →Or price breaks above entry high + high volume (breakdown invalid)
- →Stop loss: 2% above entry or at recent high
4Risk Management
- →Risk 1-1.5% (overbought reversals can extend further)
- →Target 2.5:1 minimum (reversals often extend 50+ pips)
- →Only trade when weekly AND daily UO confirm (multi-cycle requirement)
- →Scale position if UO reaches 30 or 70 in your direction