Skip to main content

What is the Detrended Price Oscillator (DPO)?

5 min read•Updated on 29th Sept, 2026•by Team Angel One
The Detrended Price Oscillator (DPO) helps traders identify short-term price cycles by filtering out longer-term market trends.
Share

The Detrended Price Oscillator (DPO) cuts through long-term market trends to expose short-term price cycles. Unlike standard indicators built to track overall trend direction, the DPO measures price movements against a moving average, making it easy to spot when prices sit unusually high or low relative to their recent average.

This article explains the Detrended Price Oscillator in detail and how it works.

Key Takeaways

  • The DPO identifies price cycles by minimizing long-term trends.
  • A positive DPO value indicates strong price momentum, while a negative value indicates weak price momentum.
  • It helps spot potential price highs and lows, but it does not necessarily signal a price reversal.
  • There is no optimal value; periods should be chosen based on the market, timeframe, and trading strategy.
  • It must not be used alone, but combined with price action, trend analysis, support and resistance levels, and risk management.

What is the Detrended Price Oscillator?

The DPO is a momentum indicator used to detect short-term price cycles by removing or detrending the price itself. This lets traders focus on smaller price movements happening inside a larger trend.

Example:

If a stock's price rises over time, it experiences small gains and losses along the way. While a standard trend indicator would simply show a strong uptrend, the DPO strips that trend to examine those small price cycles, making it useful for finding short-term highs and lows.

In contrast to this approach, the DPO seeks to strip away the trend to examine these small price cycles. It makes this indicator useful for traders who want to identify the highs and lows of short-term price cycles.

How Does the DPO Work?

The DPO compares a current or shifted price with a moving average to help identify cycles instead of just following trends.

A simplified formula of the DPO is:

DPO = Price from a shifted period − Moving Average

Precise Formula: Requires shifting the moving average backwards by part of the selected period (platforms may show this slightly differently).

When DPO is above zero, the price is above the comparison average.

When DPO is below zero, the price is below the comparison average.

Advantages of the Detrended Price Oscillator

  • Identifies short-term cycles: Eliminates the influence of long-term trends.
  • Simple to understand: Oscillates around a zero line, making it easy for beginners.
  • Spots potential turning points: Extremely high or low values highlight overextended prices.
  • Works well with other tools: Combines easily with moving averages, RSI, support and resistance, and price action.
  • Flexible timeframes: Periods can be adjusted for short-term or longer-term cycles.

Risks of the Detrended Price Oscillator

  • Cannot predict the future: Based strictly on historical price data.
  • False signals happen: A zero-line cross or indicator reversal does not guarantee a price reversal.
  • Less effective in strong trends: May show overextended conditions even while a strong trend continues.
  • Should not be used alone: Relying solely on it increases the risk of bad decisions.

DPO Compared With Other Indicators

Indicator  Primary Purpose / Core Focus  How It Works 
DPO (Detrended Price Oscillator)  Identifying short-term price cycles  Eliminates long-term trends by comparing price to a shifted moving average relative to a zero line 
RSI (Relative Strength Index)  Determining momentum and overbought/oversold conditions  Measures the speed and change of price movements on a scale from 0 to 100 
MACD (Moving Average Convergence Divergence)  Examining momentum and trend direction  Tracks the relationship between two exponential moving averages to spot trend shifts 
Stochastic Oscillator  Comparing price against its recent trading range  Measures a specific closing price relative to a high-low range over a given time period 

Conclusion 

The DPO's main purpose is to remove larger trends and highlight short-term movements, rather than just showing if prices are rising or falling. It should never be used as an independent buying or selling system. 

FAQs

A positive DPO means that the price is trading above its reference average. It could mean the price is relatively strong for the period under consideration. 

A negative DPO means that the price is trading below its reference average. It indicates that short-term price momentum is relatively weak compared to its recent average. 

The DPO should never be used alone as an independent buy or sell signal. Traders combine it with price action, trend indicators, and support and resistance levels before making trading decisions. 

There is no universal setting for the DPO. A shorter lookback period makes the indicator more responsive to quick cycles, while a longer period provides a broader view of larger market cycles. 

While moving averages are designed to follow and highlight the main trend direction, the DPO is specifically built to strip away or "detrend" that moving average to expose hidden short-term price cycles. 

The DPO is calculated using historical price data and cannot predict future price movements. A zero-line crossover or reversal in the indicator does not guarantee that the asset's price will reverse. 

In strong trending markets, prices can remain overextended for long periods. Because the DPO highlights cyclical highs and lows, it may flash overextended readings prematurely while a robust trend continues unchecked. 

Traders often use a trend-following tool (like a moving average or MACD) to determine the overall market direction and then use the DPO to spot short-term cycle highs and lows within that overarching trend. 

Open Free Demat Account!

Join our 3.8 Cr+ happy customers

+91

Open Free Demat Account!

Join our 3.8 Cr+ happy customers
+91