StructureX

Home › Comparisons

Backtesting vs forward testing: test on the past, then prove it live

A backtest asks, "Would my rules have worked on old charts?" A forward test asks, "Do they still work when I don't know what happens next?" You need both answers before real money is on the line.

Comparison · 6-minute read · Updated 2026-10-21

The short answer

Backtesting means testing your rules on past price data. You step through old charts and record what your rules would have done. It's fast: you can test months in an afternoon.

Forward testing means testing the same rules in real time, as new bars form. Usually that's Paper trading first, then very small real size.

A backtest shows whether an idea is worth more time. A forward test shows whether you can follow it when the future is truly unknown.

Side by side

BacktestingForward testing
DataPast chartsLive, new bars
SpeedFast, many trades in hoursSlow, real time
Can you peek ahead?Yes, the big trapNo, the future is hidden
Tests the rulesYesYes
Tests you (nerves, patience)BarelyMuch more
Costs and fillsOften assumedCloser to real
Main trapLook-ahead and overfittingToo few trades, quitting early
ComesFirstSecond

Backtesting, in plain words

Pick a market and a Timeframe. Scroll back. Hide the future. Step forward bar by bar and take every trade your rules allow. Log each one.

On TradingView, the bar replay tool does this: it hides everything to the right and shows one new bar at a time. See TradingView bar replay.

A replay session: future bars hidden, stepping forward one bar at a time. An illustration, not a result
A replay session: future bars hidden, stepping forward one bar at a time. An illustration, not a result

The good parts:

The limits:

Forward testing, in plain words

Same rules, but now the next bar really is unknown. You take trades as they set up, on paper or at very small size, and log them the same way.

The good parts:

The limits:

The look-ahead law. If you saw the outcome before you "took" the trade, it doesn't go in the log. One peeked trade quietly turns a test into a story.

The order we suggest

  1. Write the rules first. Entry, stop, target, size and a daily limit. See how to write a trading plan.
  2. Backtest about 100 trades on past charts with replay. Log every one, including losses and skipped trades.
  3. Read the results. Win rate, average win and loss in units of risk, the longest losing run. The expectancy calculator puts these together.
  4. Forward test on paper with the same rules. Keep logging.
  5. Compare. Are the forward results roughly in line with the backtest? If they're far worse, find out why before going further.
  6. Go live at small size. Size from the stop with the position size calculator.

Results in any test are hypothetical. Past results, real or tested, don't promise future ones. Losses are always possible.

Which fits you?

You don't choose one. You do them in order.

Common mistakes

Questions

What is the difference between backtesting and forward testing?

Backtesting tests your rules on past data, quickly. Forward testing tests the same rules in real time on new data, usually on paper or at small size first.

How many trades should I backtest?

More is better. Many traders aim for around 100 logged trades before judging a set of rules, because a small sample can mislead.

Is paper trading the same as forward testing?

Paper trading is the most common way to forward test. Trading live at very small size is another.

Why does my strategy work in the backtest but not live?

Common reasons are look-ahead (peeking), rules tweaked to fit the past, costs and slippage left out, or not following the rules under real pressure.

Want the next step? We'll walk you through it.

Four free lessons by email, one every few days — each with a 10-minute exercise on a real chart.

Send Me the Free Lessons 4 short emails · No spam · Unsubscribe anytime

Or see the whole method, step by step:

See What’s Inside the Course Try everything free first. Decide when you're ready. · Open the free chart tool (works in the TradingView phone app)

One chart idea a day, in plain English. Follow along:

Follow on XFollow on TradingView