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 | Adaptable MACD

The indicator is an MACD with expanded settings.

In addition to the standard parameters of the fast and slow EMA periods, signal SMA periods and calculation price, this indicator allows setting the calculation method for each line and use either absolute or relative values for MACD calculation.

The indicator has eight configurable parameters:

  • Fast MA period - fast MA period;
  • Slow MA period - slow MA period;
  • Signal line period - signal line period;
  • Fast MA calculation method - fast MA calculation method;
  • Slow MA calculation method - slow MA calculation method;
  • Signal line calculation method - signal line calculation method;
  • Applied price - the price used for the calculation of lines;
  • Use absolute values - enable the use of absolute values (Yes/No) for the calculation of MACD.

The abs MACD formula:

FastMA - SlowMA

Формула MACD:

(FastMA - SlowMA) / SlowMA

MetaTrader Experts, Indicators, Scripts and Libraries

20119

Best MetaTrader Indicators + Profitable Expert Advisors