Lesson 12: Backtesting and Forward Testing Basics
Beginner LevelPublished: September 18, 2025
Lesson 12: Backtesting and Forward Testing Basics
Learning outcomes: Build a simple test plan, avoid overfitting, and validate with forward testing.
Backtesting tells you if your rules have an edge. Forward testing confirms if that edge survives live conditions.
The goal is to measure consistency, not to find a perfect win rate.
Core concepts
- Rules must be written before testing.
- Sample size of 50 to 100 trades improves confidence.
- Track R distribution, not just win rate.
- Walk-forward testing reveals robustness.
- Include spread, slippage, and realistic costs.
Execution framework
- Define setup rules and invalidation.
- Collect historical data and execute the rules.
- Calculate win rate, average R, and drawdown.
- Run a forward test on new data.
- Refine only after a full sample.
Annotated walkthrough
Example: 60-trade backtest on EURUSD London session.


- Choose one setup and one market.
- Log 60 trades using the same rules.
- Analyze average R and max drawdown.
- Forward test for 20 trades before changing anything.
Common mistakes
- Curve fitting to perfect past results.
- Ignoring spread and slippage.
- Changing rules mid-sample.
- Stopping after a small sample size.
Checklist
- Rules written and fixed.
- Sample size at least 50 trades.
- Costs included in results.
- Forward test completed.
- Results reviewed objectively.
Practice drills
- Backtest one setup for 50 trades.
- Create an R distribution chart from your data.
- Run a forward test for two weeks.
Pro tips
- Keep testing simple and consistent.
- Edge is about probability, not certainty.
- Forward testing is non-negotiable.
Annotated Chart Pack
5+ annotated examples for this topic.
Download the lesson pack for offline study and practice.
Lesson Quiz
Pass mark: 80%