The Detrended Price Oscillator is one of those indicators whose idea is older and better-documented than its authorship. The technique — remove the trend to study the cycle — has deep roots; the specific packaged indicator is usually pinned to one name and one early-1990s moment. Let’s separate the two.
The idea comes first: cycle analysis
Long before the DPO had a name, market analysts were obsessed with cycles. The notion that price moves in rhythmic waves — that peaks and troughs recur at semi-regular intervals — runs through the whole history of technical analysis, from the early Dow-theory writers through W.D. Gann’s cycle work, J.M. Hurst’s cyclic analysis in the 1970s, and beyond. The hard part of cycle analysis has always been the same: a strong trend swamps the cycle. When price is marching steadily upward, the gentle 20-bar rhythm you want to measure gets buried under the climb.
The obvious fix is to detrend — subtract out the trend so the cycle stands alone. That’s a standard move in signal processing and statistics, and it’s exactly what the DPO mechanizes for a price chart.
The indicator: William Blau, early 1990s
The Detrended Price Oscillator in its modern, packaged form is most commonly credited to William Blau, around 1991. Blau was a notable technical-analysis author of the era — he’s best known for his 1995 book Momentum, Direction, and Divergence and for a family of double-smoothed momentum indicators — and he did significant work formalizing oscillators built on displaced and smoothed averages.
It’s worth an honest caveat: the DPO’s attribution is a little softer than, say, Wilder’s RSI or Chande’s CMO, both of which have a single clearly-cited founding text. The detrending technique is generic enough that versions of it appeared in multiple places, and you’ll occasionally see other names attached. But the weight of the references lands on Blau and the early 1990s, and that’s the safe thing to say.
The clever part: displacing the average
What makes the DPO more than “price minus a moving average” is the displacement. A plain moving average lags price by roughly half its length. If you simply subtracted the current average from price, that lag would dominate the result. Blau’s construction shifts the moving average back by half its period plus one, which re-aligns the average with the centre of the window it was computed from. Subtracting that removes the trend cleanly and leaves the cycle — which is the entire point.
That same displacement is also why the DPO is a backward-looking tool and not a real-time momentum signal, a distinction that has confused traders ever since. The DPO was never meant to tell you the current trend; it was built to reveal the length and phase of the cycle underneath it.
Its place today
The DPO remains a specialist’s indicator. It never achieved the mass popularity of RSI or the MACD, because most retail traders want momentum and trend signals, not cycle measurement. But for anyone doing genuine cycle analysis — estimating the dominant period of an instrument’s swings and planning entries around it — the DPO is a standard, purpose-built tool, and it ships on essentially every charting platform. It’s a small, sharp instrument that does one unusual job well.
Now go use it
See it work and build it yourself in Python, MQL5, Pine Script, EasyLanguage, or NinjaScript — then test a cycle-based rule in AlgoGen.
This post is educational, not financial advice. Indicators describe the past; they don’t predict the future. Backtest anything before you risk real money on it.
