Backtesting
Improving Your Strategy
Techniques for iterating and improving your strategy based on backtest results.
Building a profitable strategy is an iterative process. Each backtest gives you data to work with. Here's how to use that data to systematically improve your strategy.
Improvement Process
- 1Identify the weakest metric — Is it the win rate, the drawdown, or the profit factor? Focus on one thing at a time
- 2Analyze losing trades — Look for patterns. Are losses clustered around certain times, market conditions, or trade sizes?
- 3Make one change — Adjust a single parameter or condition, then backtest again. Making multiple changes at once makes it impossible to know what helped
- 4Compare results — Keep a log of each variation and its results. This builds a picture of what works and what doesn't
- 5Validate improvements — If a change improves results on your test period, test it on a different period to confirm
Common Improvements
- Add a trend filter to reduce trades against the trend
- Tighten or widen stop losses based on the strategy's average winning trade
- Add a volatility filter to avoid low-volatility choppy markets
- Adjust indicator periods to be more or less sensitive
- Change position sizing to risk a consistent percentage per trade
Keep a strategy journal. Write down what you changed, why, and what happened. Over time, this becomes your most valuable resource.
