OPEN-SOURCE SCRIPT
Updated

Ehlers Leading Indicator [CC] Ribbon

5 993
Quoted from Cheatcountry : “The Leading Indicator was created by John Ehlers (Cybernetic Analysis For Stocks And Futures pg 235) and as the name implies, this is a leading indicator that provides super early signals. Feel free to change the alpha values to adjust to your needs. Buy when the indicator line is green and sell when it is red.”

His original script:
Ehlers Leading Indicator [CC]



This is a mod of Cheatcountrys script. I put it into a function and plotted several and implemented a tally of all.

Credit to him and John Ehler. Published with permission.
Release Notes
Changed visual default to ribbon.
Release Notes
EXTRA
EXTRA
!!

Adding a switch to switch between coloration logic.
Release Notes
Added clarity

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.