Reading markets · Lesson 8 of 10

MACD

MACD compares two exponential moving averages to describe trend and momentum together. How the MACD line, signal line and histogram are calculated, and the limits of reading them.

  • 3 min read
  • 4-question check
  • Beginner

In this lesson you will

  1. Calculate the MACD line, signal line and histogram from given values.
  2. Explain what a positive or negative MACD means.
  3. Describe why MACD lags and how that affects crossovers.

MACD stands for Moving Average Convergence Divergence. With the common settings (12, 26, 9) it has three parts:

  • MACD line = 12-period EMA − 26-period EMA.
  • Signal line = 9-period EMA of the MACD line.
  • Histogram = MACD line − signal line.

Worked example: the three parts

12-period EMA 1.0872, 26-period EMA 1.0860
MACD line: 1.0872 − 1.0860 = 0.0012 (12 pips)
Signal line: 0.0009
Histogram: 0.0012 − 0.0009 = 0.0003 (positive: MACD above its signal)

Illustrative numbers, not live prices.

Price and its MACD An illustrative price line above, with the MACD line, the signal line and a histogram below. The histogram is positive when MACD is above its signal line and negative when below. Price MACD (12, 26, 9) MACD Signal Histogram
Calculated from illustrative prices: MACD = EMA12 − EMA26, signal = EMA9 of MACD.

Reading it

A positive MACD means the shorter average is above the longer one, which happens when recent prices have been higher than older ones. A shrinking histogram means the gap between MACD and its signal is narrowing, which describes slowing momentum.

Because MACD is built from averages of averages, it lags price more than either average alone. Crossovers of the MACD and signal lines often arrive after much of a move has happened, and in sideways markets they cross often with little follow-through.

MACD values are in price units, so they are not comparable across pairs: a MACD of 0.0012 on EUR/USD and 0.12 on USD/JPY are on different scales.

Common mistakes

  • Treating every signal-line crossover as an instruction.
  • Comparing MACD values between pairs with different pip sizes.
  • Forgetting that MACD lags more than the averages it is built from.

Key takeaways

  • MACD line = EMA12 − EMA26; signal = EMA9 of MACD; histogram = MACD − signal.
  • Positive MACD: the short average is above the long one.
  • A shrinking histogram describes slowing momentum.
  • MACD lags, and its crossovers have no guaranteed outcome.

Check your understanding

4 quick questions. Pick an answer to see an explanation straight away. Nothing is graded and you can try again as often as you like.

Question 1 of 4EMA12 is 1.2650 and EMA26 is 1.2665. What is the MACD line?

Show answer

Answer: −0.0015. 1.2650 − 1.2665 = −0.0015.

Question 2 of 4MACD line 0.0008, signal line 0.0011. What is the histogram?

Show answer

Answer: −0.0003. 0.0008 − 0.0011 = −0.0003.

Question 3 of 4What does a positive MACD line mean?

Show answer

Answer: The 12-period EMA is above the 26-period EMA. MACD is positive when the shorter EMA sits above the longer one.

Question 4 of 4Why do MACD crossovers often arrive late?

Show answer

Answer: MACD is built from averages, which lag price. MACD and its signal line are both based on moving averages, which lag.

Use it

Related lessons

Finished the lesson?

Mark it complete to track your progress through Reading markets. Saved in this browser only.

OptionalFree

Email me new lessons

This lesson and the rest of the Academy are free to read without signing up. If you would like a short note when new lessons are published, leave your email.

Optional and free. We'll email you new lessons occasionally. No spam, unsubscribe any time. See our Privacy Policy.

Educational content only. Not personal financial advice. This lesson explains a concept with illustrative numbers. It is not a recommendation to trade and does not consider your circumstances or the rules where you live. Leveraged trading carries a high risk of losing money. Read the risk disclaimer.