Bullyena

Detrended Price Oscillator

Bullyena Uppdaterad   
THIS IS THE INDICATOR 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 to trend changes 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

Timeframe usage:
Works best on the weekly and monthly chart. Again, this is an indicator for long term trades, not day trading

Versionsinformation:
refactored some functions to be compatible with recent Pinescript version

Skyddat skript
Detta skript publiceras med stängd källkod och du kan använda det fritt. Du kan ange den som favorit för att använda den i ett diagram. Du kan inte visa eller ändra dess källkod.
Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?