OPEN-SOURCE SCRIPT

Detrended Price Oscillator [NexusSignals]

Detrended Price Oscillator (DPO) is a detrended price oscillator, used in technical analysis, strips out price trends in an effort to estimate the length of price cycles from peak to peak or trough to trough.

DPO is not a momentum indicator, instead highlights peaks and troughs in price, which are used to estimate buy and sell points in line with the historical cycle. (cf. to investopedia)

DPO indicator made by NexusSignals components :
  • a filled area that allow users to see easy the trend of an asset;
  • a sma moving average on chart (default length is 20)
  • a 20 sma on oscillator, both ma's are color coded to show uptrend / downtrend
  • a donchian channel applied to the dpo to show breakouts, breakdowns and resistances/support, reversals
  • few alerts for price crossing above ma, cross above the 0 dpo line, and for cross above and below the donchian channels top and bottom


How you can use DPO indicator ?

The detrended price oscillator (DPO) can be used for measuring the distance between peaks and troughs in the indicator that may help traders to make future decisions as they can locate the most recent trough and determine when the next one may occur in the meassured distance on oscillator between peaks and troughs.

You can use the indicator to find the potential price reversals, for example when the price of an asset is in a bearish trend and the dpo is bouncing from the donchian channel bottom, that may be a potential swing low for that asset, same thing in a bullish trend when the dpo rejecting at top of donchian channel may be a trend reversal, a pullback or swing high.

When DPO is above the 0 trend is in an uptrend and when dpo is below the zero the asset is possible to move into a downtrend.

Also crosses of DPO above and below the DPO moving average may signalising a trend change.
CyclesOscillatorsPivot points and levels

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal