OPEN-SOURCE SCRIPT

Ehlers Cycle Strategy

Updated
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
Centered OscillatorsOscillatorsTrend Analysis

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?


Software Engineer and FX, Options, Crypto Trader. Previously worked at large options market maker. If you like my scripts and would like to donate:
Bitcoin: 179ETrGo3FCVcnBV8i1uc4J8YHFRknYytz
Eth: 0x73d59A8214FD70053aF37E9700692e25de441245

Disclaimer