MACD Crossover
Trend-following entries when MACD line crosses its signal line.
What it is
MACD Crossover is the most-cited momentum-trend strategy in technical analysis. It enters when the MACD line (the difference between fast and slow EMAs) crosses above or below its own signal line (an EMA of the MACD line itself).
Compared to a raw EMA crossover, MACD adds a smoothing layer — the signal-line EMA filters out some of the noise. The trade-off: signals come slightly later, which costs some entry quality but reduces whipsaws.
How signals fire
Long entry triggers when the MACD line crosses above the signal line. Optionally, histogram confirmation requires the histogram to be expanding (positive and growing).
Short entry is the symmetric setup — MACD line crosses below signal.
Exit is held for a fixed number of bars (default 6).
Defaults: MACD 12/26/9, histogram confirmation enabled, hold 6 bars.
When it works
Mid-cycle trends where momentum is building steadily — the kind of regime that produces lots of histogram growth and clean crossovers.
Higher timeframes (4-hour and daily) on indices, major-pair forex, and BTC. Lower timeframes generate too many crossovers to be tradeable after costs.
When it fails
Choppy, sideways markets where MACD oscillates around zero — almost every bar produces a crossover, and the signal/MACD lines criss-cross constantly.
Very fast reversals where the MACD line whips back across the signal before any meaningful follow-through.
Markets with strong overnight gaps that overrun the slow EMA before the crossover triggers.
Built-in presets
- Baseline
Standard 12/26/9 MACD with histogram-expansion confirmation.
- Slow-trend
Slower MACD (12/52/9) — fewer crossovers, only when trend is clearly committed.
- Aggressive
Faster MACD (8/17/6) without histogram confirmation — more entries, more noise.
Recommended indicator filters
- ADX ≥ 25 — only trade crossovers in trending regimes.
- EMA trend filter — confirm long entries are above a long EMA, shorts below.
- Volume × 1.0 SMA — high-conviction crossover bars only.
Common pitfalls
- Trading every minor crossover in low-trend markets — pair with ADX.
- Disabling histogram confirmation in choppy regimes — false signals multiply.
- Confusing MACD Crossover with MACD Divergence — they trade in opposite directions and target opposite market conditions.
- Comparing across MACD parameter sets without walk-forward — different regimes favour different periods.
Related indicators
MACD
MACDCore indicator. Understanding the relationship between MACD line, signal line, and histogram is essential.
Exponential Moving Average
EMAMACD is built from EMAs; knowing EMA seeding affects how you interpret early MACD values.
Average Directional Index
ADXThe most effective filter — gates entries on confirmed trend strength.
Related strategies
Related reading
The four backtest metrics that actually matter
Read →MACD strategies often have streaky win rates — Sharpe and Calmar are more telling than total return.
Walk-forward analysis: detecting overfit before it burns you
Read →MACD parameter sets are easy to overfit on a single backtest window. Walk-forward separates real edges from chance.
Try MACD Crossover in the backtester
Open the engine, pick MACD Crossover, choose a preset, and run it against synthetic or your own historical data. Tune parameters, add filters, and see how it behaves out-of-sample with walk-forward and Monte Carlo analysis.
Open the backtester →Educational note: This page explains how MACD Crossover fires and the market conditions it suits. It does not constitute investment advice. Backtested results are hypothetical simulations on past data; they cannot guarantee future outcomes. See the full disclaimer.
Last updated: 2026-05-08