Home / Wiki / D / Detrended Price Oscillator (DPO)

Detrended Price Oscillator (DPO)

Trading and SpeculationUpdated 16 Nov 2026

The detrended price oscillator (DPO) is a technical indicator designed to strip the longer trend out of a price series so that shorter cycles stand out. It compares a past price with a simple moving average: DPO=Pt−(n/2+1)−SMAn\text{DPO} = P_{t-(n/2+1)} - \text{SMA}_n, where nn is the length of the average and Pt−(n/2+1)P_{t-(n/2+1)} is the closing price n/2+1n/2 + 1 periods ago. With a 20-day setting, the close of 11 days ago is set against the 20-day average. The result swings above and below zero.

Analysts measure the distance between successive peaks or troughs of the line to estimate the typical length of a cycle. Unlike most tools of the oscillator family, the DPO is not a momentum measure and does not follow the latest price, because the calculation is shifted back in time. It is therefore unsuited to timing entries directly and is used with other technical analysis methods. Market cycles are irregular, which limits its reliability.

Last updated 16 Nov 2026