MACD is the gap between two exponential moving averages. We look at what each line calculates and what crossovers did in measured data.
MACD (Moving Average Convergence Divergence) is the difference between a fast EMA and a slow EMA. The defaults are 12, 26 and 9, and MACD line = EMA12 − EMA26.