Home Features Strategies Comparisons Calculators Pricing Try for free

Overfitting in Backtesting

Why trading strategies that look perfect in historical tests often collapse in live market execution. Learn how to prevent curve-fitting.

What is Overfitting (Curve Fitting)?

Overfitting occurs when you adjust your trading rules or indicator parameters too precisely to fit the historical noise of a specific dataset. For example, if you optimize your RSI period to "13.4" because it happened to produce the absolute highest profits in 2024, you are overfitting. While the strategy looks incredible in the backtest, it will likely lose money in live trading because market noise changes constantly.

8 Ways to Prevent Overfitting

Test Overfitting in Backtesting on Real Historical Data

Rewind the market, test entries tick-by-tick, and discover which parameters produce the highest win rates.

Start Backtesting Now