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.
- Long when MACD crosses above its signal line (or above zero)
- Short on the opposite cross
| Setting | Default | What it does |
|---|---|---|
| Fast EMA | 12 candles | Appel's default 12. |
| Slow EMA | 26 candles | Appel's default 26. |
| Signal line | 9 candles | Appel's default 9. |
| Cross | signal | Signal-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.
MACD
MACD and its signal line sketched below price: as the decline slows, MACD turns up and crosses above the signal line.
Moving-average crossover
After a decline, the fast average turns up first and crosses above the slow one.
Higher-timeframe trend
Each box is one 4-hour candle built from four 1-hour candles; the 4h closes keep rising, so 1h dips are bought, not sold.
How to read the chart, step by step
- 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.
- 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.
- 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.
- Check for chop. If price has drifted sideways in a tight band, MACD is near zero and crossing often. Expect whipsaws and be choosy.
- 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.
- 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.
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.
| Condition | Setups | Won | Average |
|---|---|---|---|
| Session: Asia | 1800 | 37% | -0.04R |
| Session: London | 1691 | 35% | -0.06R |
| Session: New York | 1450 | 35% | -0.07R |
| Session: London/NY overlap | 1057 | 38% | -0.02R |
| Session: Off-hours | 683 | 40% | -0.01R |
| Month / quarter end | 201 | 43% | +0.03R |
| London open window | 797 | 36% | -0.01R |
| New York reversal | 825 | 37% | -0.02R |
| High-volatility regime | 1300 | 37% | -0.02R |
| Low-volatility squeeze | 1692 | 37% | -0.03R |
| Trend day (so far) | 844 | 38% | -0.03R |
| Tight Asian range | 4314 | 37% | -0.03R |
| Holiday-thin trading | 706 | 37% | -0.04R |
| Strong trend | 2640 | 36% | -0.05R |
| Range day (so far) | 486 | 36% | -0.05R |
| Gold fix windows | 1338 | 36% | -0.05R |
| Weekend gap | 579 | 36% | -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.