Five ways a backtest fooled us
2026-11-30
Every example here comes from our own experiments. Each one looked like progress for a while.
1. The score that read the answer
A model predicting whether an hourly candle would close up or down reported about 96% accuracy. One of its inputs was a currency strength figure that included the very candle being predicted.
We removed inputs in groups. Using only information from earlier candles, accuracy fell to about 50%: a coin toss.
Check: for every input, ask whether you could have known it before the decision. Then rebuild it using only earlier candles and compare.
2. The prices that were not prices
A data preparation step rescaled every column except the closing price, then handed the rescaled opens, highs and lows to the backtester. A trade "entered" EURUSD at 0.47 when the real price was 1.09. The account went to zero.
The strategy took the blame until we looked at a single trade.
Check: pick a few trades and compare entry and exit prices with the chart.
3. The huge result from seven trades
A profit factor of 11.9 came from 7 trades. Another of 6.5 came from 3. With so few trades, one lucky exit decides the figure.
Check: set a minimum number of trades before looking at any performance number, and discard anything below it.
4. The test that skipped most of its signals
A test on a very small account passed. The smallest allowed lot was too large for the risk limit on most signals, so the test had rejected about 72% of them. What passed was a different strategy from the one designed.
Check: report how many signals were skipped next to every result.
5. Choosing after looking
We once showed a performance figure for a rule that had been picked after seeing the data it was measured on. The data was supposed to be a fresh test. It no longer was, and we removed the figure.
Check: decide the rule, the measure and the pass mark before running. Keep some data untouched until the rule is final, and use it once.
A habit that helps with all five
Save every result to a file beside the settings that produced it. Numbers that only appeared on a screen cannot be checked later, and we lost months of comparisons that way.