OPEN-SOURCE SCRIPT

Detrended Price Oscillator with projected SMA

Updated
Haven't seen any DPO scripts like this one...

Dpo is generaly use to find cycles in the market rather than prices trends.

As you can see a centralized Dpo is ploted with barsback *actual is shown behing actual price timeline.

Using timeline diferences between the two last highest or the two last lowest histogram bands can give you an aproximation of those market cycles.



Dpo SMA's trends can also be use to compare actual price timeline direction in 3 ways...

#-1: Is the actual price (candles) trend is against or with the dpo SMA's (convergence;divergence) ?
#-2: Is the actual price trend is condensed or dispersed ( criticals values)?
#-3: Does the dpo SMA's are near or far from the dpo cycle bottoms or cycle tops ?


Make sure to know that this indicator isn't a trading reccomandation and may not be suited for your trading style as well that it can be badly interpreted. USE WITH CAUTIONS !


//----Coder----//

R.V.

//----Thanx----//
Release Notes
AutoSMA above or below 0 color change
Detrended Price Oscillator (DPO)dpoSimple Moving Average (SMA)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer