← Back to scanner
Scanner Trading Signals
Indicator · Cycle & extremes

Detrended Price Oscillator

Cycle & extremes
The DPO removes the trend from the price to make the underlying cycle visible. It is thus explicitly not meant to follow trends.

Construction & calculation

DPO = C - SMA(20) shifted by (20/2 + 1) bars

Interpretation

How the signal works in this scanner

Buy signal (green)The DPO is below zero and has started rising from its trough within the last 15 bars: the cycle is turning up.
Sell signal (red)The DPO is above zero and has started falling from its peak: the cycle is turning down.

Watch-outs & pitfalls

  • Because of the shift the DPO 'looks' into the past. The last bars are therefore less reliable by definition — that is inherent to the construction, not a flaw.
  • Only works if the stock has a somewhat regular cycle. In a strong, linear trend the DPO is useless.
Data note. The scanner works exclusively with closing prices (daily). Wherever the classic formula needs High, Low or Volume, these are approximated: the daily range via the rolling max/min of the closing price over the recent bars, and volume via the relative size of the day's move compared with the recent average. The signal logic is identical to the original, but absolute values may differ slightly from platforms that use intraday data and real volume.

Disclaimer. This explanation is educational and does not constitute investment advice. A technical signal is a probability, not a certainty: always use it together with other signals, the broader trend, the news around the stock and a predefined risk-management plan.

Generated: 26/10/2026 12:04