OPEN-SOURCE SCRIPT
Updated

Ehlers Cycle Strategy

2 098
This uses Ehlers methods to create a cycle trading strategy.

It finds the dominant cycle in the market, then creates filters out noise to create an oscillator. It then creates a trigger line using momentum to predict a reversal in price. Finally, Ehlers Empirical Mode Discriminator is used to evaluate trends and eliminate trading against the trend.

Shout out to HPotter, Everget, and LazyBear for implementing many of Ehlers indicators, which I sampled to create this indicator and strategy.
Release Notes
Fixed bug that increased position size when flipping between long and short

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.