NGS Capital · Market education
Backtesting and Forward Testing: Information, Bias and Limits
Backtesting applies a specified process to historical data. Forward testing records behavior on observations arriving after the specification. Both can reveal problems, but neither guarantees future results or perfectly reproduces live execution.
Preserve the information timeline
Use only data that would have been available at each decision. Confirmed swings, completed higher-timeframe bars and revised economic data can introduce look-ahead if used too early. If a candle contains both stop and target prices, OHLC alone may not establish which happened first.
Separate development and evaluation
Changing rules repeatedly on the same history makes that history part of development. An untouched evaluation period can help assess the selected version, but repeatedly inspecting and retuning against it reduces its independence. Record the number and nature of attempted variations.
Model execution and keep failures
Include realistic product specifications, costs and unfilled orders where relevant. Forward simulation can test workflow while still differing from actual liquidity and fills. Keep versioned rules and all qualifying examples, including ambiguous or adverse cases. A short favorable run remains limited evidence.
Illustrative example
Invented research error: a pivot requires two later bars for confirmation, but the backtest enters at the pivot bar itself using that future confirmation. The attractive result contains information unavailable at entry and needs to be rebuilt.
Observation exercise
Audit one proposed test for look-ahead, selection, cost assumptions and rule changes. Describe what the data cannot resolve rather than filling gaps with favorable assumptions.
Related learning
- Reviewing Trading Rules Without Rewriting Every Loss
- Candlestick Closes and Wicks: What OHLC Data Reveals
- Win Rate, Average Win and Expectancy: Reading a Result Set
Return to Process and review or explore the free market-thinking guide.
Sources and further reading
The explanations and exercises are original educational material. Sources clarify definitions and product mechanics; they do not validate a trading edge.
Educational explanations, not a trading strategy or personal investment recommendation. Numerical examples are illustrative unless explicitly identified otherwise. Methodology and sources
