Learn

What is MACD

Two moving averages compared, to show when a trend is gaining or losing speed.

Picture: Two runners: a fast one, the 12-day average, ahead of a slow one, the 26-day average. The gap between them is MACD, +10. Small bars growing taller show the move speeding up.

What it means

MACD stands for moving average convergence divergence. It takes a fast moving average and a slow one and measures the gap between them. When the fast one pulls ahead of the slow one, the price has been speeding up; when the gap shrinks, the move is slowing.

How it is worked out

MACD has three parts:

MACD line = 12-day EMA − 26-day EMA

Signal line = 9-day EMA of the MACD line

Histogram = MACD line − Signal line

EMA is an exponential moving average, which gives more weight to recent days. See the moving average guide.

An example

Example: Company A today

  1. 12-day EMA: ₹520. 26-day EMA: ₹510.
  2. MACD line = 520 − 510 = +10. The recent price is above the longer average: an upward move.
  3. Signal line: +8.
  4. Histogram = 10 − 8 = +2. The MACD line is above its signal line, and the bars are positive.

How it is commonly read

Keep in mind

See it on Stockaris

For education only. Not investment advice. Worked examples use made-up companies and round numbers; past market events are given with rounded figures.

Read next