MACD crossover: tested on 16 currency pairs
MACD measures the gap between two moving averages. A cross of the signal line is meant to catch a change in momentum earlier than a plain crossover, at the price of more false signals.
Results by market
| Market | Trades | Win rate | Profit factor | Total | Largest drawdown | Verdict |
|---|---|---|---|---|---|---|
| GBP/JPY | 527 | 36% | 1.18 | +94.1 R | −31% | Marginal |
| AUD/USD | 503 | 37% | 1.16 | +75.8 R | −26% | Held up |
| GBP/USD | 513 | 36% | 1.14 | +78.6 R | −24% | Marginal |
| NZD/USD | 505 | 34% | 1.06 | +37.8 R | −39% | Marginal |
| EUR/CHF | 534 | 30% | 1.03 | +66.2 R | −45% | Marginal |
| EUR/USD | 567 | 31% | 0.99 | +5.3 R | −54% | Lost money |
| USD/CHF | 521 | 32% | 0.98 | +5.0 R | −40% | Lost money |
| USD/SEK | 563 | 30% | 0.97 | −3.2 R | −47% | Lost money |
| USD/NOK | 551 | 30% | 0.94 | −12.7 R | −60% | Lost money |
| USD/CAD | 545 | 32% | 0.94 | −8.2 R | −50% | Lost money |
| USD/JPY | 548 | 31% | 0.93 | −22.4 R | −47% | Lost money |
| AUD/JPY | 537 | 30% | 0.92 | −16.8 R | −42% | Lost money |
| EUR/JPY | 549 | 31% | 0.88 | −48.0 R | −53% | Lost money |
| EUR/NOK | 562 | 32% | 0.84 | −48.8 R | −63% | Lost money |
| EUR/GBP | 589 | 27% | 0.75 | −116.9 R | −79% | Lost money |
| EUR/SEK | 576 | 28% | 0.73 | −81.8 R | −75% | Lost money |
Sorted by profit factor. Click a market for the account curve, yearly results and other settings.
How MACD crossover works
MACD measures the gap between two moving averages. A cross of the signal line is meant to catch a change in momentum earlier than a plain crossover, at the price of more false signals.
The rules that were tested
Test it yourself
Open the same rules in the algo builder, change the settings, run your own test and get the robot as code for MetaTrader, cTrader or TradingView.
Open in the algo builderOther strategies
How the test was done
The test uses one exchange rate per day from the US Federal Reserve (H.10 release), from 2000 to 2026, and the same test engine as our algo builder. The strategy looks at the market once a day and enters at that day’s rate. A stop loss is taken at the day’s rate once it has been passed, so a loss can be larger than planned; a target is filled at the target level. Spread and commission are included as a fixed cost per trade; swap is not. Intraday moves are not in the data. Past results are no guarantee of future results.
Questions and answers
Does the MACD crossover strategy work?
Profitable after costs on 5 of 16 currency pairs, and still profitable in the last 30% of the period on 2 of them. The median profit factor was 0.96.
Which rules were tested?
Buy when the MACD line (12, 26) crosses above its signal line (9), and sell short when it crosses below. Stop loss 2 × ATR(14) from the entry, no fixed target. The position is closed on the opposite signal.
Can I rely on a backtest like this?
No. A backtest shows how a fixed set of rules would have done on past prices, with simplified costs and one price per day. Use it to rule out ideas that never worked, and test the rest on a demo account before risking money.