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:
- The rule is fixed beforehand: parameters, filters, costs.
- The data are new: nobody used them to choose or adjust.
- The verdict criterion is fixed beforehand: what «confirmed» and «contradicted» mean.
- 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 can | A forward test cannot |
|---|---|
| Show whether a result repeats on new data | Prove an edge with few data |
| Give an estimate without selection bias | Say what will happen tomorrow |
| Contradict a rule | Say that a rule works «forever» |
| Say how many trades are missing to decide | Replace 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
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.
| When | What | Price |
|---|---|---|
| 6 Oct 2026 → 24 Nov 2026 | forward test |
Times in UTC.
| Trades | Mean R ± error | Total 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
| # | Book | Hypothesis |
|---|---|---|
| H1 | 12 | The plan (80-candle breakout) has mean R > 0 |
| H2 | 12 | The average of the 240 breakout rules sits above the chance band |
| H3 | 12 | The average of the 240 fade rules stays ≤ 0 |
| H4 | 12 | The sample's 10 best stay better than the average |
| H5 | 16 | The H4 breakout rules sit above the chance band |
| H6 | 16 | The 20-candle breakout on H4 has mean R > 0 |
| H7 | 17 | Efficiency separates breakouts (trend − range above the band) |
| H8 | 17 | Efficiency separates fades (range − trend above the band) |
| H9 | 17 | The two-lane system sits above the band and above its opposite |
| H10 | 17 | The 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
- Before trusting a rule, ask on which data it was chosen and whether later data exist.
- Write the rule and the verdict criterion before looking at the new data.
- Report the number of trades and the error, not only the mean R.
- Accept «inconclusive» as a valid answer when trades are few.
- Do not change the rule after seeing the new data: it would become a backtest again.
Procedure in four steps
- Fix the rule, the parameters, the costs and the verdict criterion.
- Get data later than those used to choose.
- Apply the rule without modifying it and report trades, mean R and error.
- 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.