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 | On_Screen_MACD

The On screen MACD indicator is drawn on the main price chart. Slow ЕМА is used as the zero line.

It has four adjustable parameters:

  • Fast EMA period
  • Slow EMA period
  • Signal period - signal line calculation period
  • Applied price - price used for calculation

Calculations:

MACD = EMA(Applied price, Fast EMA period)
Zero = EMA(Applied price, Slow EMA period)
Signal = Zero + SMA(RAW, Signal period)
Histogram = Zero + MACD - Signal

where:

RAW = MACD - Zero

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

23005