Backtesting means testing your rules against historical data. It tells you how a strategy "would have done" without costing a cent — a required course before any system goes live. But three big traps hide inside.
Trap one: small samples. Statistically you need at least 100+ trades for basic significance. A 70% win rate over 30 trades is mostly noise — a coin lands heads in streaks too.
Trap two: overfitting. Tuning parameters until they fit history perfectly ("MA 17 and 43 give the best return!") treats noise as law — such systems fail the future by design. Rule of thumb: fewer parameters and simpler rules make a more robust system.
Trap three: look-ahead bias and missing costs. In manual backtests, use only information that was genuinely visible at the time (no peeking at later candles); and always include spread, slippage and swap, or the results will look unrealistically beautiful.
Passing the backtest is not the finish line. Next comes forward testing: run the system on demo for 1-3 months of unseen market data and compare the decay against the backtest. Live performance at 70-80% of the backtest is normal; at 50% be suspicious; completely different behaviour means the backtest was flawed.
Calibrate your psychology: backtest shows a 20% max drawdown? Prepare mentally and size for 30-40% live — real execution brings slippage, disconnections and shaky hands.
1. Roughly how many trades does a minimally meaningful backtest need?
2. What is overfitting (curve fitting)?
3. After a backtest looks good, what comes next?
Log in to track your progress