Building a Trading Plan · Intermediate · 9 min read

Backtesting and Forward Testing

By Learn Then Trade Editorial TeamLast checked 2026-09-01Editorial standards

How this lesson is checked. Written by the Learn Then Trade editorial team and checked against the sources listed at the end. It has not yet been reviewed by a named outside expert.

Trading planBreak-even at 40%
Expectancy per trade when winners pay 1.5RDrawn to scale

In short A backtest tells you how a rule would have performed on data you have already seen. That is a much weaker claim than it feels like, and the gap between the two is where most strategies quietly die.

✓ Key takeaways

  • A backtest is a hypothesis generator, not evidence of an edge
  • Hold out data before you start and do not look at it until the end
  • Include realistic costs or the test measures nothing useful
  • Forward testing adds the execution and psychological dimensions a backtest cannot capture

Learning objectives

  • Explain what a backtest can and cannot establish
  • Identify look-ahead bias, survivorship bias and overfitting in a testing process
  • Describe out-of-sample testing and why it must be held back genuinely
  • Explain the role of forward testing and what it adds that a backtest cannot
On this page

The short answer

A backtest answers a narrow question: if I had applied exactly these rules to exactly this history, what would have happened?

It does not answer whether the rules will work. The distance between those two questions is where most strategies that "worked in testing" quietly fail.

Why backtests overstate

Four mechanisms, each of which flatters results independently.

Overfitting

Test enough variations and one will perform well by chance. This happens with random data — it is a property of searching, not of markets.

The tell is fragility. A parameter capturing something real degrades gracefully: 48 and 52 work nearly as well as 50. A sharp peak at exactly one setting, with poor results on either side, is a fit to the sample.

Look-ahead bias

Using information that would not have been available at the moment of the decision. The classic version: a rule that uses the period's close to decide something within that period. You know the close only after the period ends.

This is easy to introduce by accident and it can be very hard to spot, because the resulting equity curve looks plausible rather than absurd.

Survivorship bias

Testing on the assets that still exist today. Delisted, failed and collapsed instruments are missing from most convenient datasets, and they are exactly the cases a method would have handled badly.

In crypto this is severe: the set of tokens available in a current dataset excludes a large population that went to zero.

Omitted costs

Backtests that ignore fees, spread, slippage and funding will show profits that do not exist. For a frequently-trading method this alone can invert the result. Model costs conservatively; the fee calculator will give you a sense of the round-trip magnitude for your own venue.

Testing that means something

Split before you start. Divide your data into in-sample and out-of-sample — 70/30 is a common split. Develop and optimise on the in-sample portion only.

Do not look at the out-of-sample data. Not once. If you peek, adjust, and re-test, it is no longer out-of-sample; it has become part of your development set, and you have lost your only independent check.

Test the final rules on the held-out data, once. If performance collapses, the in-sample result was a fit. That is a useful, cheap finding — much cheaper than finding out live.

Report the whole distribution. Maximum drawdown, longest losing streak, worst month. A profitable strategy with a 45% drawdown is one you will abandon in month three, which makes its expectancy irrelevant.

Forward testing

Once a rule survives out-of-sample testing, run it forward on new data — either on paper or at very small size.

Paper trading has a known weakness: it removes the emotional dimension entirely, so it does not test whether you will follow the rules when money is exposed. Small live size keeps the psychology roughly intact while capping the cost of being wrong. Either way, forward testing supplies things a backtest structurally cannot:

  • Real slippage in real conditions
  • Whether your entries were actually fillable at the prices assumed
  • Whether you follow the rules — which is a property of you, not of the strategy, and not observable in historical data

That last one is the reason to forward test even when the backtest is excellent. The review routine gives you the adherence figure that turns it into a measurement rather than an impression.

A realistic posture

Treat a backtest as a hypothesis generator. It tells you an idea is worth the effort of testing properly. It does not tell you the idea is good.

The sequence that respects that: develop in-sample → validate out-of-sample once → forward test small → scale slowly, with the risk limits unchanged throughout.

Most of the strategies that die in live trading were never tested this way. They were optimised until they looked good, and the optimisation was mistaken for evidence.

Risks and limitations

  • Backtest results systematically overstate live performance
  • Costs, slippage and execution constraints are frequently omitted, which flatters results

Common mistakes

  • Optimising parameters on all available data and reporting the best result
  • Testing on survivors only and concluding the method works on the asset class
  • Treating a profitable backtest as sufficient reason to trade live at full size

Knowledge check

Not scored, not stored. Just a way to check your understanding.

Question 1 of 3

What is look-ahead bias?

Sources

  1. Investor Bulletin: Performance Claims — U.S. Securities and Exchange Commission
  2. Performance presentation standards — CFA Institute
AuthorLearn Then Trade Editorial Team

The team that writes and checks the short courses, calculators and exchange reviews on this site. We claim no trading track record: each lesson stands on its reasoning and on the sources listed at the end.

Outside review
Not yet — no named expert has reviewed it
Last checked
September 1, 2026

Useful? Pass it to someone about to place their first trade.

Free · by email

Keep going: the whole 84‑lesson course in your inbox

One PDF you can read offline, then a short series on risk and position size. Never signals, never tips. One click unsubscribes.

Related tool

Risk/Reward Calculator

Turn an entry, a stop and a target into a ratio — and into the win rate that ratio would need to break even.

Course contents

Progress is stored only in this browser. No account needed.

We count page views to see which lessons help. No ads, no profiling, no data sold. You can say no and nothing here stops working. Privacy policy