Does h4_bb_pct_b above 0.5938 work on GOLD? 2023 to 2026 backtest
GOLD long when H4 Bollinger %B is above the threshold, tested at five thresholds taken from the feature’s own distribution on GOLD over this window: its 10th, 25th, 50th, 75th and 90th percentiles. Window 2023-09-30 to 2026-09-30, the last 30 percent held out of sample; stop 2.5 ATR, target 3 R, held overnight, max spread 30 pips, one-minute confirmation 2 pips, no hour filter. Fills and spread as measured on a demo fleet (how a result is judged). The direction and the exit are the ones the research catalogue carried for this pair; the thresholds are not.
Five thresholds, one rule shape
Percentile
Condition
In sample R / trades
Out of sample R / trades
t
Trades to confirm
Last quarter R / trades
Verdict
p10
h4_bb_pct_b > 0.1169
-142.1 R / 3227
-130.9 R / 1232
-2.3
949
-52.6 R / 420
Active, net negative
p25
h4_bb_pct_b > 0.3056
-141.6 R / 2785
-101.2 R / 1018
-1.9
1,085
-53.3 R / 337
No edge shown
p50
h4_bb_pct_b > 0.5938
-66.5 R / 1962
-54.4 R / 651
-1.3
1,544
-20.3 R / 193
No edge shown
p75
h4_bb_pct_b > 0.8188
+53.0 R / 1063
+25.8 R / 299
0.9
1,559
+4.8 R / 86
Net positive, not distinguishable from chance
p90
h4_bb_pct_b > 0.9623
+11.4 R / 446
+23.0 R / 150
1.1
523
+1.9 R / 39
Net positive, not distinguishable from chance
R is the risk on one trade. The out-of-sample split carries the verdict: below 100 trades it is “no edge shown” whatever the t; a positive mean with t below 2 is “net positive, not yet distinguishable from chance”; the last column is how many trades that mean would need to reach t = 2.
Each threshold in full
h4_bb_pct_b > 0.1169 (p10)
Honesty panelActive, net negative
Traded 1232 times out of sample, net negative beyond chance (-130.9 R, -0.106 R per trade, t = -2.3); still active in the last quarter (-52.6 R over 420 trades).
In sample
2023-09-30 to 2025-11-05
-142.1 R
3227 trades · 33% wins
-0.044 R per trade · t = -1.5, within chance
about 5,879 trades to confirm this mean (-0.044 R per trade) at t = -2 · shown: 3227
spread 0.102 R per trade
Out of sample
2025-11-05 to 2026-09-30
-130.9 R
1232 trades · 30% wins
-0.106 R per trade · t = -2.3, beyond chance
about 949 trades to confirm this mean (-0.106 R per trade) at t = -2 · shown: 1232
spread 0.063 R per trade
Last quarter
last 91 days of the window
-52.6 R
420 trades · 29% wins
-0.125 R per trade · t = -1.6, within chance
about 692 trades to confirm this mean (-0.125 R per trade) at t = -2 · shown: 420
spread 0.083 R per trade
Costs. Spread 0.091 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 723 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -146.3 R (-0.119 R per trade over 1232 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,684 signals placed, 4,459 filled, 225 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 87.8 pips, 2.50 ATR, 30 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 22% at the target, 13% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (2,217 bars); max spread 30 pips (0 bars over it); M1 confirmation 2 pips (872 signals rejected).
h4_bb_pct_b > 0.3056 (p25)
Honesty panelNo edge shown
No edge shown out of sample: -101.2 R over 1018 trades is -0.099 R per trade, within what chance produces (t = -1.9); about 1,085 trades would be needed to confirm this mean at t = -2, shown: 1018.
In sample
2023-09-30 to 2025-11-05
-141.6 R
2785 trades · 32% wins
-0.051 R per trade · t = -1.6, within chance
about 4,377 trades to confirm this mean (-0.051 R per trade) at t = -2 · shown: 2785
spread 0.101 R per trade
Out of sample
2025-11-05 to 2026-09-30
-101.2 R
1018 trades · 30% wins
-0.099 R per trade · t = -1.9, within chance
about 1,085 trades to confirm this mean (-0.099 R per trade) at t = -2 · shown: 1018
spread 0.061 R per trade
Last quarter
last 91 days of the window
-53.3 R
337 trades · 28% wins
-0.158 R per trade · t = -1.8, within chance
about 423 trades to confirm this mean (-0.158 R per trade) at t = -2 · shown: 337
spread 0.084 R per trade
Costs. Spread 0.090 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 603 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -113.7 R (-0.112 R per trade over 1018 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,005 signals placed, 3,803 filled, 202 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 85.5 pips, 2.50 ATR, 25 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 22% at the target, 13% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (3,861 bars); max spread 30 pips (3 bars over it); M1 confirmation 2 pips (743 signals rejected).
h4_bb_pct_b > 0.5938 (p50)
Honesty panelNo edge shown
No edge shown out of sample: -54.4 R over 651 trades is -0.084 R per trade, within what chance produces (t = -1.3); about 1,544 trades would be needed to confirm this mean at t = -2, shown: 651.
In sample
2023-09-30 to 2025-11-05
-66.5 R
1962 trades · 33% wins
-0.034 R per trade · t = -0.9, within chance
about 9,902 trades to confirm this mean (-0.034 R per trade) at t = -2 · shown: 1962
spread 0.100 R per trade
Out of sample
2025-11-05 to 2026-09-30
-54.4 R
651 trades · 30% wins
-0.084 R per trade · t = -1.3, within chance
about 1,544 trades to confirm this mean (-0.084 R per trade) at t = -2 · shown: 651
spread 0.058 R per trade
Last quarter
last 91 days of the window
-20.3 R
193 trades · 30% wins
-0.105 R per trade · t = -0.9, within chance
about 984 trades to confirm this mean (-0.105 R per trade) at t = -2 · shown: 193
spread 0.078 R per trade
Costs. Spread 0.089 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 416 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read -61.9 R (-0.095 R per trade over 651 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 2,741 signals placed, 2,613 filled, 128 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 84.1 pips, 2.50 ATR, 15 raised to the 10-pip floor); target 3 R; exits 64% at the stop, 22% at the target, 13% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (7,294 bars); max spread 30 pips (3 bars over it); M1 confirmation 2 pips (506 signals rejected).
h4_bb_pct_b > 0.8188 (p75)
Honesty panelNet positive, not distinguishable from chance
Net positive out of sample, not yet distinguishable from chance: +25.8 R over 299 trades is +0.086 R per trade, t = 0.9; about 1,559 trades would be needed to confirm this mean at t = 2, shown: 299; last quarter +4.8 R over 86 trades.
In sample
2023-09-30 to 2025-11-05
+53.0 R
1063 trades · 36% wins
+0.050 R per trade · t = 1.0, within chance
about 4,644 trades to confirm this mean (+0.050 R per trade) at t = 2 · shown: 1063
spread 0.098 R per trade
Out of sample
2025-11-05 to 2026-09-30
+25.8 R
299 trades · 36% wins
+0.086 R per trade · t = 0.9, within chance
about 1,559 trades to confirm this mean (+0.086 R per trade) at t = 2 · shown: 299
spread 0.054 R per trade
Last quarter
last 91 days of the window
+4.8 R
86 trades · 36% wins
+0.055 R per trade · t = 0.3, within chance
about 3,602 trades to confirm this mean (+0.055 R per trade) at t = 2 · shown: 86
spread 0.070 R per trade
Costs. Spread 0.088 R per trade at 1.25 times the bar’s minimum (60% of the gross); 232 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read +22.6 R (+0.076 R per trade over 299 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 1,427 signals placed, 1,362 filled, 65 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 84.9 pips, 2.50 ATR, 5 raised to the 10-pip floor); target 3 R; exits 61% at the stop, 24% at the target, 15% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (10,597 bars); max spread 30 pips (3 bars over it); M1 confirmation 2 pips (240 signals rejected).
h4_bb_pct_b > 0.9623 (p90)
Honesty panelNet positive, not distinguishable from chance
Net positive out of sample, not yet distinguishable from chance: +23.0 R over 150 trades is +0.153 R per trade, t = 1.1; about 523 trades would be needed to confirm this mean at t = 2, shown: 150; last quarter +1.9 R over 39 trades.
In sample
2023-09-30 to 2025-11-05
+11.4 R
446 trades · 37% wins
+0.026 R per trade · t = 0.3, within chance
about 16,295 trades to confirm this mean (+0.026 R per trade) at t = 2 · shown: 446
spread 0.093 R per trade
Out of sample
2025-11-05 to 2026-09-30
+23.0 R
150 trades · 37% wins
+0.153 R per trade · t = 1.1, within chance
about 523 trades to confirm this mean (+0.153 R per trade) at t = 2 · shown: 150
spread 0.050 R per trade
Last quarter
last 91 days of the window
+1.9 R
39 trades · 36% wins
+0.048 R per trade · t = 0.2, within chance
about 4,750 trades to confirm this mean (+0.048 R per trade) at t = 2 · shown: 39
spread 0.072 R per trade
Costs. Spread 0.082 R per trade at 1.25 times the bar’s minimum (59% of the gross); 112 fills in measured hot hours (01:00 at 3.9 times). Fill offset 0.08 stop-distances on every entry, measured on 732 demo fills. Note: the symbol's quoting precision changed on 2025-08-04; the spread field is converted with the point of each era. At 1.5 times the bar’s minimum the out-of-sample figure would read +21.5 R (+0.143 R per trade over 150 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 625 signals placed, 596 filled, 29 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 90.0 pips, 2.50 ATR); target 3 R; exits 59% at the stop, 23% at the target, 18% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (12,928 bars); max spread 30 pips (5 bars over it); M1 confirmation 2 pips (100 signals rejected).
What h4_bb_pct_b measures
H4 Bollinger %B (ratio), on H4 bars. Position of the last completed H4 close within the H4 Bollinger bands (20, 2).
Test your own variant
Rule Collider runs one rule on one symbol over years of broker M5 data with the fills and the spread a demo fleet measured, and shows the out-of-sample figure first. Early access goes to the waitlist in signup order.
Historical simulation on broker M5 data with a measured fill offset, a measured spread factor, swap and a one-minute confirmation model. Past results do not predict future results. This is a research tool, not investment advice. Hours are broker time, the chart time in MT5. Built 2026-11-04 from runs ending 2026-09-30; refreshed monthly.