Login Page - Create Account

Technical Studies Reference

MACD Leader

This study calculates and displays an MACD, a Moving Average of the MACD, and an MACD Leader for the data specified by the Input Data Input. See the MACD study for an explanation of the notation used here.

The MACD and the Moving Average of the MACD are calculated in the same way as they are in the MACD study, except that the default setting of the MACD Moving Average Type Input is Simple Moving Average instead of Exponential Moving Average.

We denote the MACD Leader at Index \(t\) as \(MACDL_t(X,n_F,n_S)\), and we compute it as follows.

\(MACDL_t(X,n_F,n_S) = MACD_t(X,n_F,n_S) + EMA_t(X - EMA(X,n_F),n_F) - EMA_t(X - EMA(X,n_S),n_S)\)

Note: Depending on the setting of the Input Moving Average Type, the Exponential Moving Averages in the last two terms on the right hand side of the above formula could be replaced with Linear Regression Moving Averages, Simple Moving Averages, Weighted Moving Averages, Wilders Moving Averages, Simple Moving Averages - Skip Zeros, or Smoothed Moving Averages.

For all three subgraphs, the output is displayed for \(t \geq n_M + \max\{n_F,n_S\}\).



The spreadsheet below contains the formulas for this study in Spreadsheet format. Save this Spreadsheet to the Data Files Folder.

Open it through File >> Open Spreadsheet.


*Last modified Friday, 08th March, 2019.