PROTECTED SOURCE SCRIPT

Detrended Price Oscillator

Mis à jour
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

Notes de version
refactored some functions to be compatible with recent Pinescript version
Detrended Price Oscillator (DPO)dpoinvestinglongtermlongtermtrading

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?


Aussi sur:

Clause de non-responsabilité