DasanC

Adaptive Zero Lag EMA Strategy [Ehlers + Ric]

Behold! A strategy that makes use of Ehlers research into the field of signal processing and wins so consistently, on multiple time frames AND on multiple currency pairs.
The Adaptive Zero Lag EMA (AZLEMA) is based on an informative report by Ehlers and Ric .
I've modified it by using Cosine IFM, a method by Ehlers on determining the dominant cycle period without using fast-Fourier transforms
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 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%)

www.mesasoftware.com/papers/ZeroLag.pdf
www.jamesgoulding.co...ch_II/Ehlers/Ehlers (Measuring%20Cycles).doc

Need Indicators/Strategies for TradingView? -> t.me/pinescripters_jobs
General questions about Pinescript? -> t.me/pinescripters
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?