Before this lesson: Exponential moving average (EMA)
How does it work?
A common setup subtracts a 26-period EMA from a 12-period EMA and uses a 9-period EMA of that difference as the signal line. Settings can vary. The histogram is MACD minus the signal line.
A positive MACD means the shorter selected average is above the longer selected average. A shrinking positive histogram means the difference from the signal line is shrinking; it does not necessarily mean price is already falling.
Because MACD and moving averages share price inputs, using them together does not automatically provide independent confirmation. Decide what distinct information each contributes and avoid counting the same movement several times.
Keep the signs separate
With fictional fast EMA 103 and slow EMA 100, MACD is 3. If its signal line is 2, the histogram is 1. A smaller next histogram can occur while MACD remains positive.
A common mistake to avoid
Confusing histogram direction with price direction or counting related indicators as independent votes.
Make it practical
Put the idea into practice.
Use a demonstration, fictional record or paper environment. These optional checkpoints help you work through macd: momentum and moving averages.
Check your understanding.
Explain the idea in your own words, apply it to a fresh example, then name a limitation before checking below.
A useful check
- MACD is derived from moving averages.
- Its components answer related but different questions.
Watch for this mistake: Confusing histogram direction with price direction or counting related indicators as independent votes.
If your explanation depends on the example working out favorably, try another outcome and check the reasoning again.
Key takeaways
- MACD is derived from moving averages.
- Its components answer related but different questions.
A video companion
See how the MACD line, signal line, and histogram relate to one another.
Suggested viewing from TradingView. Watch on YouTube
Sources and further reading
Original provider, exchange, regulator, and platform material supports checking definitions and current details.
- Moving average convergence divergenceTradingView