What MACD is
MACD stands for Moving Average Convergence Divergence, a momentum indicator created by Gerald Appel. It is calculated by subtracting a longer exponential moving average from a shorter one, commonly the 26-period from the 12-period. The result is the MACD line, which rises and falls as the two averages move closer together or further apart.
The signal line and histogram
A signal line, usually a 9-period average of the MACD line, is plotted alongside it. The histogram shows the distance between the MACD line and the signal line. Analysts watch crossovers between the two lines and changes in the histogram to describe shifts in momentum, though these are observations rather than instructions.
What to keep in mind
Because MACD is built from moving averages, it lags price and reflects momentum that has already developed. It can produce misleading signals in sideways or choppy markets. Most traders read MACD together with price context and other tools rather than treating any single crossover as a definitive event.