MomentumLeading

DPO — Detrended Price Oscillator

Updated How we review

Overview

The Detrended Price Oscillator strips out the long-term trend to isolate short-term price cycles, helping traders identify overbought and oversold conditions relative to recent behaviour rather than the dominant trend. DPO is ideal for cycle analysis in stocks and forex where regular cyclical patterns exist. Use DPO alongside trend tools from our indicator guide library for context before acting on cycle signals.

How It Works

DPO = Close[−(N/2 + 1) periods ago] − SMA(N). By shifting price data backward, DPO removes the dominant trend and centres the oscillator on historical cycles. Default period is 20. The result shows where price peaks and troughs occur within the cycle.

DPO chart: the Detrended Price Oscillator (20): price compared with a displaced moving average, showing the cycles.
The Detrended Price Oscillator (20): price compared with a displaced moving average, showing the cycles. Drawn on 120 bars of a simulated price series (an uptrend, a range, a sell-off and a recovery), computed with the standard formula and settings 20.

Key Signals

  • DPO peaking above zero suggests the cycle is at a short-term high.
  • DPO troughing below zero suggests the cycle is at a short-term low.
  • Regular DPO cycle lengths help predict the timing of future turns.

Common Mistakes

  • Using DPO for real-time trading signals — the displacement means the latest readings are delayed.
  • Applying DPO without first identifying a regular cycle in the asset.
  • Confusing DPO with a trend indicator — it explicitly removes trend information.

More Momentum Indicators

TSI — True Strength Index

The True Strength Index applies a double-smoothing technique to price momentum, producing a clean oscillator that reveals overbought/oversold conditions and trend direction with minimal noise. TSI signals are particularly reliable on daily charts across <a href="/market/stocks" class="text-primary hover:underline">stocks</a> and <a href="/market/crypto" class="text-primary hover:underline">crypto</a>. Combine TSI crossovers with the <a href="/academy/indicators/macd" class="text-primary hover:underline">MACD</a> for layered momentum confirmation in your <a href="/strategies" class="text-primary hover:underline">trading strategies</a>.

RSI — Relative Strength Index

RSI measures the speed and magnitude of recent price changes on a 0-100 scale, identifying overbought and oversold conditions — it is one of the most widely used <a href="/academy/indicators" class="text-primary hover:underline">technical indicators</a> in every market. RSI divergence signals are especially powerful when confirmed by the <a href="/academy/indicators/macd" class="text-primary hover:underline">MACD</a> or volume-based oscillators. Traders in <a href="/market/crypto" class="text-primary hover:underline">crypto</a> often widen the overbought/oversold thresholds to 80/20 due to higher volatility. Combine RSI with sound <a href="/academy/psychology" class="text-primary hover:underline">trading psychology</a> to avoid chasing overbought entries in trending markets.

Ultimate Oscillator

The Ultimate Oscillator blends buying pressure across three timeframes — short (7), medium (14), and long (28) — into a single reading, reducing the false signals that plague single-period oscillators. It is effective for spotting divergences in <a href="/market/crypto" class="text-primary hover:underline">crypto</a> and <a href="/market/stocks" class="text-primary hover:underline">stock</a> markets. Combine it with trend-following tools from our <a href="/academy/indicators" class="text-primary hover:underline">indicator guide library</a> for a robust multi-timeframe <a href="/strategies" class="text-primary hover:underline">trading strategy</a>.

Stochastic Oscillator

The Stochastic Oscillator compares a security's closing price to its price range over a given period, making it excellent for identifying overbought/oversold conditions and divergences in bounded ranges. It works especially well alongside the <a href="/academy/indicators/rsi" class="text-primary hover:underline">RSI</a> for double confirmation of reversal zones in <a href="/market/forex" class="text-primary hover:underline">forex</a> and <a href="/market/stocks" class="text-primary hover:underline">stock</a> markets. For best results, use Stochastic signals only in the direction of the larger trend identified by tools in our <a href="/academy/indicators" class="text-primary hover:underline">indicator guide library</a>. Build it into a complete system by reviewing our <a href="/strategies" class="text-primary hover:underline">trading strategies</a> section.

Talk it through with other traders

Ask questions and discuss what you've learned in the Cosmic Crypto Club Discord. It's free, and so are the courses in the Hub with a Discord sign-in.