EdgeProof

Strategies / Momentum & oscillators

MACD crossover

Trade the MACD line crossing its signal line: a classic momentum shift, judged by where and when it happens.

beginner1h · 4h · 1dTestableTested in published research

Overview

MACD, created by Gerald Appel, is the gap between a 12-candle and a 26-candle exponential moving average of the closes. A 9-candle average of that gap is the signal line. When the MACD line crosses above the signal line, short-term momentum has turned up; a cross below means it has turned down.

The platform flags every signal-line cross on a closed candle, long or short, with no extra filter. That makes it one of the busiest strategies in the library, and it means many flagged crosses are noise in sideways markets. The quality judgment is all yours: where the cross happens, what the trend is doing, and whether price has room to move.

The evidence is honest and mixed. Reviews of technical trading rules, such as Park and Irwin (2007), found that results like these are mixed and tend to fade after costs and in later samples. Treat MACD as a way to describe momentum, and earn your edge by choosing the right crosses.

The exact rules we test

These are the rules the platform runs over market history to find setups. Every setup you'll see in practice and tests matched them on a closed candle.

  1. Long when MACD crosses above its signal line (or above zero)
  2. Short on the opposite cross
SettingDefaultWhat it does
Fast EMA12 candlesAppel's default 12.
Slow EMA26 candlesAppel's default 26.
Signal line9 candlesAppel's default 9.
CrosssignalSignal-line crosses are earlier; zero-line crosses are trend confirmations.

Default exits: Stop 2 ATR, target 2R

What forms the setup

MACD line

The 12-candle EMA minus the 26-candle EMA of the closes. It is positive when the fast average is above the slow one.

Signal line

A 9-candle EMA of the MACD line. It smooths MACD, so the two lines cross when momentum changes direction.

Zero line

MACD crossing zero is the same event as the 12 EMA crossing the 26 EMA. Above zero, the short-term trend is up.

Trend context

A cross in the direction of the bigger trend is a continuation trade. A cross against it is a reversal bet.

Trend strength

In weak, sideways markets MACD hugs zero and crosses back and forth. Strong trends give fewer, cleaner crosses.

ATR stop

The stop is a fixed 2 × ATR(14) from entry, with no structure behind it.

How to read the chart, step by step

  1. Read the cross. At the setup candle's close, the MACD line is above the signal line after being at or below it on the candle before (long). The opposite for a short. The setup card tells you which cross happened.
  2. Work out where it happened. The chart shows price, not MACD, so read it from price. If price has been rising for the last few dozen candles, the 12 EMA is likely above the 26 EMA and the cross is above zero: a trend resuming. A bullish cross after a long fall is likely below zero: a bounce attempt inside a downtrend.
  3. Check the trend. Compare the cross with the trend you can see and the higher timeframe. Crosses with the trend are continuation trades; crosses against it need a reason, such as a clear level.
  4. Check for chop. If price has drifted sideways in a tight band, MACD is near zero and crossing often. Expect whipsaws and be choosy.
  5. Place the stop. The stop is 2 × ATR(14) from entry. Note whether it lands beyond the last swing low (for a long) or in the middle of recent candles.
  6. Check the room. Look for a prior high, range edge or round number between entry and your target. A 2R target needs about 4 ATR of clear space.

Entry

Enter at the close of the candle where the MACD line (12, 26) crosses its 9-candle signal line: above it for a long, below it for a short. Every such cross on a closed candle is flagged, wherever it happens.

Stop

A fixed 2 × ATR(14) from entry: below for longs, above for shorts. There is no structural stop, so check where that distance lands compared with the last swing low or high.

Target

The library suggests 2R. In tests you choose the R multiple (1R to 4R) of the 2 ATR stop, so a 2R target needs a move of about 4 ATR. Crosses late in a mature trend rarely have that much fuel left; crosses at the start of a move sometimes do.

Real examples and what happened

Three setups from the practice pool, with the 2R outcome after costs. Faded candles are what came next; the ring marks the exit.

Entry 1.15630Stop 1.153712R 1.16149
EUR/USD 1h long · 2025-10-10 · +1.96R
Entry 1.03411Stop 1.030702R 1.04093
EUR/USD 1h long · 2022-08-11 · -1.03R

When it works, and when it doesn't

Helps

  • A cross in the direction of a clear trend, after a pullback (for example, a bullish cross after price dipped to a rising average).
  • A strong trend tag pointing the same way as the cross.
  • Price breaking out of a range at the same time as the cross.
  • Plenty of room to the next obvious level.
  • Trending phases.

Hurts

  • A flat, sideways market, where MACD hugs zero and crosses back and forth.
  • A cross against a strong higher-timeframe trend.
  • A cross after a long, extended run, when price is already far from its averages.
  • A prior high or low sitting just ahead of the entry.
  • Ranges.

How its setups did on this platform

From 6,681 practice-pool setups at a 2R target after costs: 36% reached a profit, average -0.04R per setup. This is the rules alone, taking every setup. Your job in a test is to beat that by choosing.

ConditionSetupsWonAverage
Session: Asia180037%-0.04R
Session: London169135%-0.06R
Session: New York145035%-0.07R
Session: London/NY overlap105738%-0.02R
Session: Off-hours68340%-0.01R
Month / quarter end20143%+0.03R
London open window79736%-0.01R
New York reversal82537%-0.02R
High-volatility regime130037%-0.02R
Low-volatility squeeze169237%-0.03R
Trend day (so far)84438%-0.03R
Tight Asian range431437%-0.03R
Holiday-thin trading70637%-0.04R
Strong trend264036%-0.05R
Range day (so far)48636%-0.05R
Gold fix windows133836%-0.05R
Weekend gap57936%-0.06R

Past results on historical data; small groups are noisy. Use it to ask better questions, not as a promise.

Common mistakes

  • Taking every cross. The platform flags them all; most of the edge comes from skipping.
  • Forgetting that MACD lags. It is built from moving averages, so the cross comes after the turn.
  • Ignoring where the cross happens relative to zero.
  • Expecting big targets from crosses inside a range.
  • Mixing up signal-line crosses (earlier, noisier) with zero-line crosses (later, slower).

Pre-trade checklist

  • ☐Is the cross in the direction of the trend I can see?
  • ☐Is the market trending rather than chopping sideways?
  • ☐Is price not already stretched far from its averages?
  • ☐Does the 2 ATR stop sit beyond a swing point?
  • ☐Is there room to my target before the next level?

Practising it

  • In the Practice Center, tag each cross with trend, against trend or range before you click. After the instant reveal, compare the three piles.
  • Because the rules flag every cross, practise skipping. Try skipping about half and check whether your takes beat the ones you skipped.
  • In tests, the score compares your picks with random picks from the same setups. Your edge here is filtering: skip ranges and skip crosses that run straight into a nearby level.

Evidence

Tested in published research. Created by Appel. In reviews of technical rules (Park & Irwin) results are mixed and fade after costs and in later samples.