Bullyena

Detrended Price Oscillator Strategy

THIS IS THE STRATEGY VERSION

What is DPO?
A detrended price oscillator is an oscillator that strips out price trends in an effort to estimate the length of price cycles from peak to peak or trough to trough. Unlike other oscillators, such as the stochastic or moving average convergence divergence (MACD), the DPO is not a momentum indicator. It highlights peaks and troughs in price, which are used to estimate buy and sell points in line with the historical cycle.
(From Investopedia)

Indicator features:
Responds faster than the original code.
Added alternative smoothing algorithms. Defaults to Ehler's Optimum Elliptic filter instead of the orginal SMA
IPOCS - can start printing out data at day 1 instead of waiting for 14 or 20 bars
Dynamic colors
Auto timeframe detection to adjust period/length

How to use:
Buy above zero
Sell below zero

Who is it for?
Long term investors - this is the perfect indicator for those who buy and hold


Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?