OPEN-SOURCE SCRIPT

Zero-Lag Smoothed Cycle

Old indicator ! But its a simple trick to have a zero-lag smoothing effect, i think i did it because the smoothing was kinda asymmetrical with the detrended line. So even if the result appear quite good take into account that the detrended line isn't always correlated with the price.
Centered OscillatorscycleDetrended Price Oscillator (DPO)smoothzero-lag
alexgrover
Wizard
Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/

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