Indicator reference › MACD
MACD (Moving Average Convergence Divergence) shows the relationship between two EMAs of price, typically 12 and 26 periods. The MACD line is their difference; the signal line is a 9-period EMA of the MACD line; the histogram shows the gap between them. It's primarily a trend-following momentum indicator.
When MACD crosses above the signal line, it's a bullish signal (histogram turns positive). When it crosses below, bearish (histogram turns negative). A MACD above zero means the 12 EMA is above the 26 EMA — the short-term trend is up. The histogram's size shows momentum strength — shrinking bars before a crossover warn of an impending direction change.
Works best in trending markets with clear directional momentum. In sideways/choppy markets MACD generates frequent false crossovers — filter with ADX or Choppiness Index. The classic 12/26/9 comes from daily charts. GU Analyser defaults to 6/13/4 on hourly because hourly bars are noisier — that is our default rather than a convention, and 12/26/9 on hourly is a perfectly reasonable choice too.
What Happens After a MACD Crossover?
15,698 bullish MACD signal-line crossovers across 197 US large-cap stocks, 2018 to 2026, measured over the following 35 trading days against the same measurement taken from every trading day in those stocks.
A Stronger Benchmark for the MACD Crossover
Study 002 compared MACD crossovers with every trading day. A reader asked if that was fair, so we re-ran the test only against days with similar trend and volatility, with a calendar-block bootstrap interval on each crossover-minus-comparison difference.
Plot it yourself. Add this indicator to a chart, change every parameter and watch the line move, then backtest how the rule would have behaved on historical data — free on the S&P 500 ETF, no card.
Create a free account or start with the lessons →