Adaptive Zero Lag EMA Strategy [Ehlers + Ric]

The Adaptive Zero Lag EMA (AZLEMA) is based on an informative report by Ehlers and Ric [1].
I've modified it by using Cosine IFM, a method by Ehlers on determining the dominant cycle period without using fast-Fourier transforms [2] [3]
Instead, we use some basic differential equations that are simplified to approximate the cycle period over a 100 bar sample size.
The settings for this strategy allow you to scalp or swing trade! High versatility!
Since this strategy is frequency based, you can run it on any timeframe (M1 is untested) and even have the option of using adaptive settings for a best-fit.
>Settings
- Source : Choose the value for calculations (close, open, high + low / 2, etc...)
- Period : Choose the dominant cycle for the ZLEMA (typically under 100)
- Adaptive? : Allow the strategy to continuously update the Period for you (disables Period setting)
- Gain Limit : Higher = faster response. Lower = smoother response. See [2] for more information.
- Threshold : Provides a bit more control over entering a trade. Lower = less selective. Higher = More selective. (range from 0 to 1)
- SL Points : Stop Poss level in points (10 points = 1 pip)
- TP Points : Take Profit level in points
- Risk : Percent of current balance to risk on each trade (0.01 = 1%)
[1] mesasoftware.com/papers/ZeroLag.pdf
[2] jamesgoulding.com/Research_II/Ehlers/Ehlers (Measuring Cycles).doc
[3]
![Cosine IFM [Ehlers]](https://s3.tradingview.com/5/5WqrAJgu_mid.png)
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Discover the easy way to manage Forex trading accounts. Trusted by traders globally.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Discover the easy way to manage Forex trading accounts. Trusted by traders globally.