MACD (Moving Average Convergence Divergence)
Syntax
Section titled “Syntax”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.
Parameters
Section titled “Parameters”-
closesrange Range of closing prices -
fastPeriodint Fast EMA period (default: 12) -
slowPeriodint Slow EMA period (default: 26) -
signalPeriodint Signal period (default: 9) -
showEmaValuesbool If TRUE, outputs fast and slow EMA values as well.