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.

  1. What is checked (the hypotheses).
  2. With which rules and data (parameters, costs, period).
  3. How it is decided (the verdict criterion).
  4. 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 downloaded14,451
First and last instant6 October 2026 11:05 - 25 November 2026 15:15 (UTC)
Open-market H1 candles, built as in the books831 (4,865 in the sample: 17%)
Duration50 days, 1.65 months
RulesThose of books 12, 16 and 17, no parameter changed
Cost$0.3 per trade, prudent stop, as always
Valid tradesEntry 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%):

ConditionVerdict
n < 30Inconclusive for sample size (m ± e is reported anyway)
n ≥ 30 and m − e > 0Confirmed
n ≥ 30 and m + e < 0Contradicted
OtherwiseInconclusive

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.

Figure 1. 14-candle hourly ATR at the end of each day: the working data and the new data (grey band from 6 October). In the new data the average ATR is $16.0 against $22.1 in the sample.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, an ATR line reaching 130 in February and staying between 8 and 34 in the «forward test» band.

WhenWhatPrice
6 Oct 2026 → 24 Nov 2026forward 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

PreregisteredExploratory
When it is writtenBefore computingAfter seeing the data
What it is worthA verdictAn idea to test on even newer data
How many testsTen (the hypotheses)As many as you like, but they are counted
Where it sits in the bookChapters 5-10 and 12Chapter 11

What to do

  1. Write the protocol before downloading or looking at the data, and save it with a date (a commit is enough).
  2. Fix a rule and a verdict criterion for each hypothesis.
  3. Declare what you saw beforehand of the data (here: quantity and range).
  4. Separate preregistered analyses from exploratory ones and count the latter.
  5. Do not change a criterion after seeing the result.

Procedure in four steps

  1. List the hypotheses, each with rule, parameters and data.
  2. Write each one's verdict criterion.
  3. Save the protocol with a date, before looking at the results.
  4. 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.