Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | MA_Lag_Reduce

MA Lag Reduce indicator is an SMA with the ability to set the delay elimination factor.

The indicator has three input parameters:

  • Period;
  • Applied price;
  • Lag Reduce factor (*).

Calculation:

MLR = ((MA / PrevMA) ^ RLFactor) * MA

where:

MA - SMA(Applied price, Period)
* If Lag Reduce factor is 0, the indicator repeats a simple moving average with the same calculation parameters.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. MA Lag Reduce. Period 14, ratio 1.5

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. MA Lag Reduce. Period 14, ratio 3.0 as compared to SMA(14)

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 3. MA Lag Reduce. Period 14, ratio 1.5 as compared to SMA(14)

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 4. MA Lag Reduce. Period 14, ratio 0.0 as compared to SMA(14)

21537