What makes a backtest sample representative of current conditions?
Posted: Wed Nov 18, 2026 4:28 pm
Backtesting a scalping strategy over a long history sounds like the most thorough approach. More data, more trades, more confidence. But markets change, and a sample that covers years of very different conditions can hide the fact that the strategy only works in some of them.
A few things to consider when choosing the sample.
Volatility regime is one of the most important. A strategy with fixed pip targets and stops behaves very differently when the average daily range is sixty pips compared with a hundred and twenty. If the sample mixes both, the averages may not describe either.
Spread and cost conditions have changed over time as well. Older data on many feeds reflects wider spreads or different commission structures. A test that uses today's costs on old price data may be fine, but a test that uses old cost assumptions may not match what trading looks like now.
Session behaviour can shift too. The timing of the most active hours, the reaction to particular releases, and the way certain pairs move during the Asian session are not fixed forever.
One way to handle this is to split the sample into periods and look at results for each separately. If the strategy performs reasonably in most periods, that is more reassuring than a single good number across the whole history. If almost all the profit comes from one stretch, the question becomes whether current conditions look like that stretch.
Another is to weight recent data more heavily in the decision, while still using older data to check that the strategy is not a recent accident.
It also helps to keep a small out-of-sample period untouched until the end, so the final check is on data the rules were never adjusted to fit.
How far back do people here usually test scalping strategies? And do you split results by year or by volatility, or look only at the totals?
A few things to consider when choosing the sample.
Volatility regime is one of the most important. A strategy with fixed pip targets and stops behaves very differently when the average daily range is sixty pips compared with a hundred and twenty. If the sample mixes both, the averages may not describe either.
Spread and cost conditions have changed over time as well. Older data on many feeds reflects wider spreads or different commission structures. A test that uses today's costs on old price data may be fine, but a test that uses old cost assumptions may not match what trading looks like now.
Session behaviour can shift too. The timing of the most active hours, the reaction to particular releases, and the way certain pairs move during the Asian session are not fixed forever.
One way to handle this is to split the sample into periods and look at results for each separately. If the strategy performs reasonably in most periods, that is more reassuring than a single good number across the whole history. If almost all the profit comes from one stretch, the question becomes whether current conditions look like that stretch.
Another is to weight recent data more heavily in the decision, while still using older data to check that the strategy is not a recent accident.
It also helps to keep a small out-of-sample period untouched until the end, so the final check is on data the rules were never adjusted to fit.
How far back do people here usually test scalping strategies? And do you split results by year or by volatility, or look only at the totals?