jwammo12

Ehler Bandpass Trigger Oscillator

This is based off of Ehler's Bandpass Filter system (link below slides 15-17). Essentially Ehler runs a band pass with a given period to detrend the price data and highlight a cycle with the given frequency(length). This represents the In phase cycle. Ehler then creates the trigger line by taking the one bar momentum of the In Phase line, multiplying by 2Pi and then using this to create a 60 degree leading signal. The triggers are crossovers of the In Phase and Lead lines. You can also use conservative signals by waiting for the In Phase line to trend in the direction of the trigger crossover as well.

Length represent the cycle period you want to highlight.
Delta represents how much to influence the oscillator by the price (Delta 0 is a perfect wave)

Thanks to HPotter for the BandPass Filter code, which I used as a base for implementing the rest of the system


http://www.mesasoftware.com/seminars/2008TradersExpo.pdf

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?