Detrended Price Oscillator (DPO)

The Detrended Price Oscillator (DPO) is a specialized indicator designed to do exactly what its name suggests — it removes the overall trend from the chart so you can focus entirely on short-term price cycles.

How the DPO Works

Rather than using current price data, the DPO shifts price backward by a set number of periods — typically 20. This offset removes trend bias and lets you see how far price is moving above or below a historical average.

Here’s the core formula:

  • DPO = Price (n/2 + 1 periods ago) – n-period Simple Moving Average

So, instead of reacting to the latest close, DPO is showing you how current price compares to the midpoint of a previous cycle.

DPO Reading Table
DPO Reading What It Tells You
Above 0 Price is above its historical average → possible overbought
Below 0 Price is below its historical average → possible oversold
Crosses zero Reversion point or cycle midline

By stripping away long-term momentum, the DPO makes it easier to spot peaks, troughs, and overextended conditions, especially in sideways or range-bound markets. Think of it as zooming in on the price waves without being distracted by the bigger trend.

How Traders Use It

Because the DPO filters out the trend, it’s best used to:

Spot short-term reversals

Time entries or exits within a range

Identify price extremes that might lead to mean reversion

Compare price cycles for rhythm and consistency

While it’s not ideal for trading trends directly, it works perfectly when price is moving sideways, or if you’re trading pullbacks or bounce zones.

Here’s how traders usually apply it:

  • Look for peaks and dips in the oscillator to align with price exhaustion

  • Use zero-line crosses as timing cues — a cross back above may signal a new upward cycle starting

  • Combine with other tools like RSI, Bollinger Bands, or structure for confirmation

Example Setup

Let’s say you’re looking at a stock that’s stuck in a consolidation zone. Price bounces around support and resistance — and the DPO starts printing a low reading around –1.5.

That’s your clue.

Price is below its recent average, and the oscillator is turning upward. You prepare to go long, expecting a short-term bounce toward the upper range.

Later, when the DPO hits +1.5 and flattens, you consider taking profit — catching the full cycle inside the sideways chop.

Pros and Cons of Using DPO

Pros

  • Filters out trend to focus on short-term cycles

  • Helps pinpoint overbought/oversold zones

  • Great for range trading or counter-trend setups

  • Simple, clean visual with no noise from trends

 

Cons

  • Not effective for trend-following strategies

  • Can give false signals in volatile markets

  • Needs pairing with structure or confirmation tools

When to Use the Detrended Price Oscillator

Use the DPO when you’re trading inside a range, targeting short-term price movements, or trying to catch bounce and fade setups. It’s especially useful for swing traders, scalpers, and anyone who wants to enter just before a reversal, rather than chase price once it’s moving.

If you’ve ever felt like trend indicators were too slow or noisy for your style, the Detrended Price Oscillator offers a refreshingly clean view of price extremes — without the clutter. Now lets move to the Volatility Indicators section and start with the world famous Bollinger Bands