Strategy tests: what 27 years of data say
Does the MACD crossover work? RSI? Breakouts? Here are 7 of the best-known strategies, tested with fixed rules on 16 currency pairs from 2000 to 2026. Nothing is tuned, and the losing results are shown too.
Profit factor for every strategy and market
Above 1 the strategy made money after costs, below 1 it lost. Click a number for the full test.
Strategy by strategy
| Strategy | Profitable on | Also in the last 30% | Median profit factor |
|---|---|---|---|
| Moving average crossover | 8 / 16 | 2 / 16 | 1.01 |
| MACD crossover | 5 / 16 | 2 / 16 | 0.96 |
| Donchian breakout | 4 / 16 | 2 / 16 | 0.92 |
| Parabolic SAR | 4 / 16 | 2 / 16 | 0.93 |
| RSI reversal | 0 / 16 | 0 / 16 | 0.69 |
| Bollinger Bands reversal | 0 / 16 | 0 / 16 | 0.78 |
| Stochastic crossover | 0 / 16 | 0 / 16 | 0.79 |
How to read the numbers
Profit factor is total gains divided by total losses. At 1.00 the strategy breaks even. Anything that stays above 1.2 after costs over many years is rare for a simple rule.
Most tests in this library lose money. That is the honest result for simple indicator rules with fixed settings, traded once a day with realistic costs: an indicator is a way to describe the price, not an edge in itself. The useful information is in the differences – which ideas were never close, which only worked in one decade, and which survive across markets and settings.
No setting was chosen because it looked good. Every strategy uses the textbook setting as its headline, and two other settings and a trend filter are shown beside it.
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 builderHow 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
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.
Why are there only currency pairs?
The library uses daily exchange rates published by the US Federal Reserve, which are free to use and go back decades. Indices, gold and crypto will be added when we have price history of the same quality.