Part 1: Why, protocol and data · Chapter 2 of 14 · 6 min
The protocol written first
This book's protocol is a file in the repository, written and saved before computing a single result on the new data. It fixes ten hypotheses, the rules (the same as the books', no parameter changed), the data (831 H1 candles after 6 October 2026, 17% of the sample) and a verdict criterion for each: for a single rule, inconclusive below 30 trades, confirmed if the mean R minus the error exceeds zero, contradicted if the mean R plus the error is below zero; for an average over many rules, above, inside or below the band of 30 random series. Of the new data, beforehand, only the quantity and the range were known.
Why write it first
Someone who looks at the results and then decides what counted as success always finds something positive. With ten hypotheses, many rules and several windows, some numbers go the right way by chance. The defence is simple and a bit uncomfortable: write beforehand what you look at and what counts as confirmation.
A preregistered protocol fixes four things.
- What is checked (the hypotheses).
- With which rules and data (parameters, costs, period).
- How it is decided (the verdict criterion).
- What is reported (everything, even the ugly results).
What we fixed
This book's protocol is in the repository, dated: one file and two saves (the second adds clarifications before any calculation). We downloaded the new data from the same source as the earlier ones (Binance gold perpetual future, 5-minute candles) and looked at only the quantity and the range:
| Value | |
|---|---|
| 5-minute candles downloaded | 14,451 |
| First and last instant | 6 October 2026 11:05 - 25 November 2026 15:15 (UTC) |
| Open-market H1 candles, built as in the books | 831 (4,865 in the sample: 17%) |
| Duration | 50 days, 1.65 months |
| Rules | Those of books 12, 16 and 17, no parameter changed |
| Cost | $0.3 per trade, prudent stop, as always |
| Valid trades | Entry after 6 October 2026 10:00 (earlier history is used to compute ATR, windows and medians) |
The verdict criteria
For a single rule (H1, H6, H10), with n trades, mean R m and error e (95%):
| Condition | Verdict |
|---|---|
| n < 30 | Inconclusive for sample size (m ± e is reported anyway) |
| n ≥ 30 and m − e > 0 | Confirmed |
| n ≥ 30 and m + e < 0 | Contradicted |
| Otherwise | Inconclusive |
For an average over a basket of rules (H2, H3, H5, H7, H8, H9): the forward value is compared with the band (5th-95th percentile) of 30 random series obtained by shuffling the whole series, old and new, in blocks of 24 and evaluated in the same final part. Above the band: confirmed. Inside: inconclusive. Below: contradicted. Only rules with at least 5 forward trades count.
For selection (H4): the sample's 10 best (at least 30 trades) do better than the average of all if their forward average exceeds that of all and at least 7 out of 10 are above; they are contradicted if the average is equal or lower and at most 3 out of 10 are above.
Read the chart in words
Daily gold chart with, below, an ATR line reaching 130 in February and staying between 8 and 34 in the «forward test» band.
| When | What | Price |
|---|---|---|
| 6 Oct 2026 → 24 Nov 2026 | forward test |
Times in UTC.
The new data are not a copy of the old. The average ATR goes from $22.1 to $16.0 and the price, as we will see in chapter 3, falls by 16%. A forward test is also this: a market different from the one you chose on.
What the protocol does not guarantee
- It does not make a rule true: it only says how it is judged.
- It does not remove the choice of hypotheses: they are ten among those of the books, and others could have been chosen. We chose them because they were the ones the books called «to test forward».
- It does not prevent later analyses: if, afterwards, you look at something else (the direction of trades, random entries), you can, but it must be declared exploratory. In chapter 11 we will, and we will say so.
Preregistered and exploratory
| Preregistered | Exploratory | |
|---|---|---|
| When it is written | Before computing | After seeing the data |
| What it is worth | A verdict | An idea to test on even newer data |
| How many tests | Ten (the hypotheses) | As many as you like, but they are counted |
| Where it sits in the book | Chapters 5-10 and 12 | Chapter 11 |
What to do
- Write the protocol before downloading or looking at the data, and save it with a date (a commit is enough).
- Fix a rule and a verdict criterion for each hypothesis.
- Declare what you saw beforehand of the data (here: quantity and range).
- Separate preregistered analyses from exploratory ones and count the latter.
- Do not change a criterion after seeing the result.
Procedure in four steps
- List the hypotheses, each with rule, parameters and data.
- Write each one's verdict criterion.
- Save the protocol with a date, before looking at the results.
- Compute, report everything and separate the preregistered from the exploratory.
Exercises
Chapter exercises
1. A rule has 25 forward trades with mean R +0.9 ± 0.5. What verdict does the protocol give?
2. What is looked at to judge the average over a basket of rules?
3. What was known about the new data before fixing the protocol?
4. How should an analysis made after seeing the data be treated?
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.