Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4269
Rating:
(16)
Published:
2018.03.01 11:52
ZeroLag.mq5 (9.33 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Zero Lag is a modified EMA.

Calculation formula:

EMA ZL = α * (EMA + Gain * (Close - ZL [1])) + (1 - α) * ZL [1]

The formula is similar to EMA with an addition of a new value Gain * (Close - ZL [1])

Gain is the value selected from the interval [-GainLimit, GainLimit] to minimize the error for the current data sample (Close - ZL) → min

The indicator has three input parameters:

  • Period - calculation period;
  • Gain limit - the Gain parameter;
  • Applied price - price used for calculations.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19896

WI WI

The WI oscillator indicator.

VMA VMA

VMA is a volatility based dynamic MA.

ZeroLagMACD ZeroLagMACD

ZeroLagMACD is an MACD version, which has a much smaller lag compared to the classic MACD.

Diff_TF_MA_EA Diff_TF_MA_EA

An Expert Advisor based on the Diff_TF_MA indicator.