Skip to content
CHARTARMORY

Install app

  1. Use the install icon on the right of the address bar, or choose the app-install option in the browser menu. Chrome and Edge support this on desktop.
  2. Already installed? Open ChartArmory from your home screen or computer’s app list.
CHARTARMORY

App & notifications

Enable notifications

Only your selected topics. We store your push address, encryption keys, language and choices; turning notifications off deletes this subscription.

Push notifications are not supported in this environment.

Tools

MACD: trend and momentum

What an indicator shows—and what it cannot tell you.

What does it measure?

MACD examines momentum through the difference between fast and slow moving averages. A common setting is 12, 26, 9; settings can vary.

How to read it

Distinguish signal-line crosses, position relative to zero and changes in histogram size. The histogram equals MACD minus its signal line.

MACD = EMA(12) − EMA(26); signal = EMA(MACD, 9)

Hypothetical calculation

A fast EMA of 102 and slow EMA of 100 give MACD=2. With a signal line at 1.5, the histogram is 0.5—not a forecast of a 0.5% price gain.

How it works

MACD plots the MACD line as a short-term exponential moving average (usually the 12-period EMA) minus a long-term one (usually the 26-period EMA). It also shows a signal line, which is an average of the MACD line (usually a 9-period EMA), and a histogram showing the gap between the two lines. When the short average rises faster than the long one, the gap between the lines widens and the MACD value grows. When the rise slows, the histogram bars can shrink even before price peaks. It is used to see at a glance the direction of the medium-term trend (above or below the zero line) and its acceleration or slowdown (signal crossovers and histogram changes).

Common beginner mistakes

  • Trading every time the MACD line and signal line cross in a sideways market where price is stuck in a narrow range, and taking repeated out-of-step losses.
  • Forgetting that MACD is a lagging indicator built on averages of past prices, and trying to pick the exact top and bottom of short-term spikes and drops.
  • Responding with the same size to a bullish crossover that happens deep below the zero line and one that happens above the zero line.

Frequently asked questions

What does it mean when the MACD line crosses the zero line?

MACD is the 12-period EMA minus the 26-period EMA, so a MACD of zero means the 12 and 26 lines on the chart have met. Moving above zero therefore means the short-term average price has risen above the long-term average price.

Which moves first, a MACD bullish crossover or the histogram?

The histogram shows the gap between the MACD line and the signal line as bars, so the bars shorten before the two lines actually cross (bullish or bearish crossover). To read a change in momentum one step earlier, also watch the slope of the histogram.

How do MACD and RSI differ, and why use them together?

MACD is strong at showing the direction and persistence of a trend through the gap between two moving averages. RSI is suited to showing whether the current price is overheated or depressed by comparing recent moves. Used together, they complement each other, such as finding a temporary dip (RSI) inside an uptrend (MACD).

What do the default MACD settings 12, 26, 9 mean?

The 12 and 26 are the periods of the short-term EMA (12 candles) and long-term EMA (26 candles) used to build the MACD line. The last number, 9, is the period of the signal line, which is an EMA of that MACD line over 9 candles used as a reference line.

Before using it

Moving averages introduce lag. Sideways markets can generate repeated crosses. Different timeframes on the same symbol can show different conditions.

Check on your chart

Keep the symbol and timeframe fixed and record your settings. Compare an updating bar with a closed bar. This exercise is not a trade recommendation.

Can momentum improve while the histogram is negative?

Yes. If MACD is −1 and the signal line is −0.5, the histogram is −0.5. Later MACD −0.6 with signal −0.4 gives −0.2. The negative gap narrowed in this hypothetical example, but the histogram has not crossed zero. MACD crossing its signal line, MACD crossing zero and a price increase are different observations. None alone guarantees a trade outcome.

Official reference

TradingView — MACD ↗