OPEN-SOURCE SCRIPT

Ehlers Decycler Oscillator

By everget
Wizard
This indicator was originally developed by John F. Ehlers (Stocks & Commodities , V.33:10 (September, 2015): "Decyclers").

The idea is still the same as for the Simple Decycler.
Mr. Ehlers suggested to virtually eliminate lag by getting rid of the very low-frequency components. So, he applied the high-pass filter to the simple decycler.

Mr. Ehlers recommended to use two instances of the Decycler Oscillator with different parameters (high-pass filter period and multiplier). As a result, he got the Decycler Oscillator pair.
The first oscillator (red line) has a period of 125 bars, the second one (yellow line) has a period of 100 bars.

The interpretation is straightforward:
  • When the yellow line crosses over the red line, a trend reversal to the upside is indicated.
  • When the yellow line crosses under the red line, a trend reversal to the downside is indicated.

Centered OscillatorsdecycledecyclerehlersfilterfilteringhighpassHPMoving AveragestrendTrend Analysis
everget
Wizard
Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget

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