Backtesting and overfitting

A backtest shows how a set of rules would have done in the past. These pages explain how to read one, why most impressive backtests fail afterwards, and how to test a strategy on data it was not tuned on.