Testing a Strategy: Backtesting, Forward-Testing and Sample Size
A setup is only an idea until you have measured it over enough trades; one setup mastered beats five dabbled in.
A setup that sounds logical is still only a hypothesis. Before you trust it, you measure it. There are two stages, and both can be done without risking a cent.
Backtesting
Backtesting means going through past charts and recording what would have happened if you had followed your rules. Scroll back, move forward one candle at a time, and log every occurrence of the setup, winners and losers alike, as an R-multiple.
It is quick, but it flatters you. With the right-hand side of the chart visible, it is easy to notice only the clean examples (hindsight bias). Fills are imaginary and assume perfect execution. And if you keep adjusting rules until past results look wonderful, you have fitted the rules to old noise (curve-fitting), which will not repeat.
Forward-testing
Forward-testing, also called paper trading, means trading the rules as the candles form, without knowing what comes next. That is exactly what the simulator is for. It tests the strategy and it tests you: whether you spot the setup in real time, hesitate, chase, or break your rules. The journal records every trade and calculates win rate, profit factor, expectancy and average R for you.
- Past charts, one candle at a time
- Log every occurrence in R
- Quick, but flattering
- Candles form live, future unknown
- Tests the strategy and tests you
- Spot it, hesitate, chase, break rules?
- Journal calculates the statistics
Sample size: why ten trades tell you nothing
Short runs are dominated by luck. A strategy that wins 45% of the time will lose five trades in a row fairly often: the chance for any given five trades is 0.55 x 0.55 x 0.55 x 0.55 x 0.55, which is about 5%. Over a hundred trades you should expect to see streaks like that. Judging after ten trades, you might throw away a good strategy or fall in love with a bad one.
- 10 tradesAlmost nothingThis is noise.
- 30 tradesA first rough impressionDo not trust it yet.
- 50 to 100A usable estimateOf win rate and expectancy for this setup.
- 200+Good confidenceAs long as market conditions were varied.
Over 100 trades you would expect to make about $3,500. You lose more often than you win, but your wins are 2× the size of your losses.
- Over 100 trades
- +$3,500
- Reward : risk
- 2 : 1
- Average win ÷ average loss
- Break-even
- 33.3%
- Needed · yours 45%
- Win / loss split
- 45 / 55
- Out of every 100 trades
One setup mastered beats five dabbled in
Suppose you take 60 trades. Spread across five setups, that is 12 trades each, which is too few to learn anything about any of them. All on one setup, it is a meaningful sample. You also start to recognise that setup's subtle good and bad versions, which is where a real edge tends to come from. Switching strategy after every losing streak resets your sample to zero each time, so you never find out whether anything works.
Switching strategy after every losing streak resets the sample to zero.
- Statistics describe your strategy
- Statistics describe your impulses
- Pick one setup from this module
- Take 50 simulator trades with fixed rules
- Risk 1R on each
- Change nothing until the 50 are done
- Then read the numbers
Key takeaways
- Backtesting on past charts is fast but flattered by hindsight, perfect fills and curve-fitting.
- Forward-testing in the simulator tests both the rules and your ability to follow them.
- Fewer than about 50 trades is mostly noise; losing streaks are normal even for a good strategy.
- Only trades that followed the rules count as evidence about the strategy.
- Concentrating on one setup builds a meaningful sample and real skill.
Check your understanding
Score 70% or more to pass the lesson. You can retry as often as you like.