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

MACD Flat Trend indicator is a signal indicator based on MACD.

It has four inputs:

  • MACD fast EMA period - fast EMA MACD calculation period
  • MACD slow EMA period - slow EMA MACD calculation period
  • MACD signal period - MACD signal line calculation period
  • Applied price - MACD calculation price

Calculation:

  • If the signal line is below MACD and MACD is above zero, the green label is set
  • If the signal line is above MACD and MACD is below zero, the red label is set
  • Otherwise, the gray label is used

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

MetaTrader Experts, Indicators, Scripts and Libraries

22507