Part 1: Why, protocol and data · Chapter 1 of 14 · 7 min

Why the forward test

A backtest says what would have happened on data the person who chose the rule had already seen. A forward test puts it to the test on data that did not exist when it was chosen. The example plan of books 12-17 (80-candle breakout) makes +0.74 ± 0.43 R over 79 trades, and it is the best of 480 rules: the only honest question is what it does afterwards. After 6 October 2026 it has 18 trades and +0.44 ± 0.89 R: too few to decide, enough to see that the error stays almost as large as the value. This book checks ten hypotheses from the earlier books with rules written beforehand: one confirmed in a formal sense, nine inconclusive, none contradicted.

The sample problem

In the earlier books we measured rules on gold's candles from 15 December 2025 to 6 October 2026. Many gave interesting results: the 80-candle breakout makes +0.74 R, 48-candle efficiency separates breakouts, the H4 breakout beats random series. Each time we wrote «hypothesis to test forward». This book does it.

The reason is simple. The rules we show were chosen by looking at that data. The 80-candle breakout is the best of 480: among many rules, one sits at the top even if none has an edge. 48-candle efficiency is the window that worked, among those tried. A result chosen from many tends to be better than the one that will repeat: it is regression to the mean (book 12).

There is only one clean test: data that were not there when the rule was chosen.

What a forward test is

A forward test (also called out-of-sample in the strict sense) applies an already written rule to data after the choice, without modifying it. Four conditions:

  1. The rule is fixed beforehand: parameters, filters, costs.
  2. The data are new: nobody used them to choose or adjust.
  3. The verdict criterion is fixed beforehand: what «confirmed» and «contradicted» mean.
  4. Everything is reported, even when the result is ugly or inconclusive.

If even one is missing, it is not a forward test: it is another backtest with a better name.

What it can say and what it cannot

A forward test canA forward test cannot
Show whether a result repeats on new dataProve an edge with few data
Give an estimate without selection biasSay what will happen tomorrow
Contradict a ruleSay that a rule works «forever»
Say how many trades are missing to decideReplace caution in position size

With 18 trades the plan's error is ±0.89 R: the forward test says «we do not know yet» and says how many trades are needed to know. An honest answer of this kind is worth more than a +0.44 with no error.

The plan, before and after

Figure 1. Cumulative R of the plan (80-candle breakout, 1.5 ATR stop, 3 R target): the sample up to 6 October (79 trades, +58.1 R) and the forward test (grey band: 18 trades, +7.9 R).Data: gold, XAUUSDT perpetual future (real candles) · daily (D1) · from 15 Dec 2025 to 24 Nov 2026.
Read the chart in words

Daily gold chart with, below, a cumulative R curve rising to +58 up to 6 October and then continuing to rise more slowly in the «forward test» band.

WhenWhatPrice
6 Oct 2026 → 24 Nov 2026forward test

Times in UTC.

TradesMean R ± errorTotal R
Sample (15 December 2025 - 6 October 2026)79+0.74 ± 0.43+58.1
Forward (6 October - 25 November 2026)18+0.44 ± 0.89+7.9

The forward value (+0.44) is lower than the sample's (+0.74): it is what you expect from a rule chosen among 480. But the error (±0.89) is double the sample's and covers both zero and +0.74. The plan is neither confirmed nor contradicted: it is inconclusive. The rest of the book shows why, and how to say it rigorously.

The ten hypotheses

#BookHypothesis
H112The plan (80-candle breakout) has mean R > 0
H212The average of the 240 breakout rules sits above the chance band
H312The average of the 240 fade rules stays ≤ 0
H412The sample's 10 best stay better than the average
H516The H4 breakout rules sit above the chance band
H616The 20-candle breakout on H4 has mean R > 0
H717Efficiency separates breakouts (trend − range above the band)
H817Efficiency separates fades (range − trend above the band)
H917The two-lane system sits above the band and above its opposite
H1017The 20-candle breakout filtered with efficiency has mean R > 0

Each has a rule and a verdict criterion written before looking at the new data (chapter 2).

What to do

  1. Before trusting a rule, ask on which data it was chosen and whether later data exist.
  2. Write the rule and the verdict criterion before looking at the new data.
  3. Report the number of trades and the error, not only the mean R.
  4. Accept «inconclusive» as a valid answer when trades are few.
  5. Do not change the rule after seeing the new data: it would become a backtest again.

Procedure in four steps

  1. Fix the rule, the parameters, the costs and the verdict criterion.
  2. Get data later than those used to choose.
  3. Apply the rule without modifying it and report trades, mean R and error.
  4. State the verdict according to the criterion and write how many trades are missing.

Exercises

Chapter exercises

1. What distinguishes a forward test from another backtest?

2. The plan makes +0.74 ± 0.43 R in the sample and +0.44 ± 0.89 forward over 18 trades. What do you conclude?

3. Why does a result chosen among 480 rules tend to repeat worse?

4. What answer can a forward test with few trades give?

Have a question or want to share your exercise?

Post in the community, or join the free signals room on Telegram.

Educational content, not financial advice. Trading involves risk.