Detrended Price Oscillator
Price minus a shifted average, to show cycles.
Drawn in its own pane below the price.
How it’s worked out#
DPO = C shifted back N/2 + 1 − SMA(C, N)
How to read it#
Removes the trend to show cycles: peaks and troughs help time swings.
Note:These are the common readings, not trading advice: no indicator is right every time, and most work better with others and with the trend.
Settings#
- Length: 21 (1 to 1000)
What it draws#
- DPO (line)
Add it to a chart#
On the chart, open Indicators and search for “Detrended Price Oscillator”. Its settings open with a double-click on its line or its name in the legend, where the ? button leads back here. Alerts can watch any of its lines.
Open the chart · Every indicator
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.