All TermsConcept

Overfitting

Overfitting is the practice of optimising strategy parameters until the backtest looks great, only for the strategy to fail on out-of-sample or live data. The strategy has memorised the past instead of learning a generalisable edge.

Signs your strategy is overfit

  • Parameters are oddly specific (EMA period 17 and 43, not 14 and 50)
  • Win rate is unusually high (>75%)
  • Profit factor > 3.0 on a small trade count
  • Strategy uses many filters that "fix" small periods of underperformance
  • Backtest looks perfect but live results don't match

How to avoid it

  1. Walk-forward analysis — optimise on one period, test on the next, advance, repeat.
  2. Out-of-sample reserve — set aside the most recent 20% of data and never look at it during optimisation.
  3. Simplicity bias — fewer parameters always beats more.
  4. Cross-asset robustness — if it only works on one symbol, it's probably curve-fit.
  5. Live forward test — paper-trade for 30+ days before risking real capital.

The bitter truth

Most strategies that look amazing in backtest are overfit. A strategy with profit factor 1.4 across multiple symbols and timeframes is more trustworthy than one with profit factor 3.0 on a single optimised configuration.

Related Terms

Stop Reading. Start Trading.

PineForge backtests every concept on this site against real market data.

Try It Free