Skip to content

MACD (Moving Average Convergence Divergence)

MT_Macd(Range of closing prices,[Fast EMA period ],[Slow EMA period ],[Signal period ],[If TRUE, outputs fast and slow EMA values as well.])

Array formula.

  • closes range Range of closing prices
  • fastPeriod int Fast EMA period (default: 12)
  • slowPeriod int Slow EMA period (default: 26)
  • signalPeriod int Signal period (default: 9)
  • showEmaValues bool If TRUE, outputs fast and slow EMA values as well.