Seven warning signs
- The equity curve is almost a straight line.
- More than 5–6 tuned settings.
- Oddly precise values (RSI 37, stop 23.5 pips).
- Great on one symbol, poor on similar ones.
- Most profit comes from a few trades.
- Results change a lot when a setting moves one step.
- The developer only shows the period it was built on.
Test 1: an out-of-sample period
Split the data before you start. Build on, say, 2020–2024 and don't look at 2025 until the rules are final. Then run 2025 once. If it holds roughly the same profit factor and drawdown, good. If it collapses, the strategy was fitted. Walk-forward analysis repeats this many times.
Test 2: parameter stability
Change each setting a little in both directions. A real edge gives a plateau: neighbouring values perform similarly. A fitted one gives a spike: one value is great and its neighbours are poor. Prefer the middle of a plateau over the top of a spike.
Test 3: other markets and timeframes
A trend-following idea that works on gold should do something sensible on silver or an index. It doesn't need to be as good, but if it loses badly everywhere else, it's probably fitted to one chart.
Why overfitting happens to honest traders
You don't need to cheat to overfit. Every time you look at a backtest, notice a losing patch and add a filter that removes it, you fit the past a little more. Do that ten times and the backtest is beautiful and the strategy is fragile. The fix isn't to never improve a strategy; it's to keep a block of data you never look at until the very end, and to accept small imperfections instead of filtering every loss away.
Degrees of freedom: a simple sanity check
Count everything you chose by looking at results: indicator lengths, thresholds, session times, stop and target multiples, day-of-week filters. Each is a 'degree of freedom'. A rough guide is that you want many trades per degree of freedom. 300 trades with 4 tuned choices is far more believable than 300 trades with 15.
| Strategy | Rough guide |
|---|---|
| 3–4 tuned settings | Reasonable for a few hundred trades |
| 5–8 tuned settings | Needs a long, varied sample and an unseen test |
| 10+ tuned settings | Very likely fitted unless the sample is huge |
Overfitting in bought EAs
Many commercial EAs are shown with a backtest that ends the day before release. The settings were tuned on exactly that period, so the backtest is in-sample by design. Ask for results on data after the release date, or run the EA's default settings yourself on a later period. If live or post-release results fall well below the showcase backtest, that's the overfitting gap.
Checking with your prop firm in mind
An overfitted strategy often shows a beautiful equity curve but a low pass rate across start dates, because its smoothness depended on one exact path. If the full-period backtest passes most start dates but the unseen period passes very few, treat it as fitted and don't buy a challenge yet.
Test 4: Monte Carlo and start dates
Shuffle the trade order and resample it thousands of times to see the range of drawdowns the same trades could have produced. For prop firms, also test every start date. A robust strategy passes a decent share of starts; a fitted one depends on one lucky path.




