Technical Glossary / Technical Indicators – Trend Indicators
MACD
The difference between two EMAs, plus a signal line that is an EMA of that difference.
Teaching sketch. It shows the shape, not a live quote and not a trade signal.
Formula
MACD line = EMA(12) - EMA(26). Signal = EMA(9) of the MACD line. Histogram = MACD line - signal. Periods are the common default, not a rule.
Definition
MACD is a trend-following oscillator. When the faster EMA is above the slower one, MACD is positive. The signal line smooths MACD. A cross of MACD through its signal is a change in the spread between the two EMAs. The histogram is that cross seen as bars. It is still two moving averages. It is not a bounded momentum oscillator like RSI.
How it works
Because the EMAs are in price units, MACD's height depends on the price of the instrument. You cannot compare a MACD reading of 5 on a 100-rupee stock with 5 on an index. Zero is comparable: it is where the two EMAs meet. Divergences, a new price high with a lower MACD high, are a warning that the spread is no longer expanding. They are not a signal by themselves.
Bullish reading
A cross up through the signal, especially from below zero after a decline, is the bullish version. Taking it above zero in a strong uptrend is a continuation cross and it is late.
Bearish reading
A cross down through the signal is the bearish version. In a strong uptrend, sell signals from MACD fire on every dip and fail. Use the higher-timeframe trend as a filter or expect those failures.
Common mistakes
Reading the histogram as volume, and treating a divergence as a reversal without a break in price structure.
Limitations
MACD lags because both inputs lag. It will not call a V-bottom in time to catch the V. It is useful for staying with a swing, and expensive in chop, like every EMA cross.
This note explains the term. A sketch shows the shape of the idea. Neither is a recommendation, a signal, or a comment on any security. Indicator settings and exchange conventions differ. Check the live chart and the contract specification before you use a number.