Does x_usdjpy_atr_z above -0.05177 work on GOLD? 2023 to 2026 backtest
GOLD long when USDJPY ATR vs 50-bar average 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
x_usdjpy_atr_z > -0.3816
-187.8 R / 3429
-169.9 R / 1328
-2.9
647
-58.7 R / 449
Active, net negative
p25
x_usdjpy_atr_z > -0.2562
-173.2 R / 3358
-163.8 R / 1302
-2.8
672
-58.1 R / 437
Active, net negative
p50
x_usdjpy_atr_z > -0.05177
-163.1 R / 3112
-137.9 R / 1174
-2.5
776
-62.6 R / 395
Active, net negative
p75
x_usdjpy_atr_z > 0.2295
-133.3 R / 2478
-123.8 R / 930
-2.5
593
-54.8 R / 302
Active, net negative
p90
x_usdjpy_atr_z > 0.5297
-89.4 R / 1462
-60.3 R / 582
-1.5
1,024
-25.6 R / 187
No edge shown
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
x_usdjpy_atr_z > -0.3816 (p10)
Honesty panelActive, net negative
Traded 1328 times out of sample, net negative beyond chance (-169.9 R, -0.128 R per trade, t = -2.9); still active in the last quarter (-58.7 R over 449 trades).
In sample
2023-09-30 to 2025-11-05
-187.8 R
3429 trades · 32% wins
-0.055 R per trade · t = -1.9, within chance
about 3,777 trades to confirm this mean (-0.055 R per trade) at t = -2 · shown: 3429
spread 0.102 R per trade
Out of sample
2025-11-05 to 2026-09-30
-169.9 R
1328 trades · 29% wins
-0.128 R per trade · t = -2.9, beyond chance
about 647 trades to confirm this mean (-0.128 R per trade) at t = -2 · shown: 1328
spread 0.063 R per trade
Last quarter
last 91 days of the window
-58.7 R
449 trades · 29% wins
-0.131 R per trade · t = -1.7, within chance
about 638 trades to confirm this mean (-0.131 R per trade) at t = -2 · shown: 449
spread 0.084 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); 796 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 -186.7 R (-0.141 R per trade over 1328 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,996 signals placed, 4,757 filled, 239 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 90.5 pips, 2.50 ATR, 30 raised to the 10-pip floor); target 3 R; exits 66% 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 (1,320 bars); max spread 30 pips (0 bars over it); M1 confirmation 2 pips (921 signals rejected).
x_usdjpy_atr_z > -0.2562 (p25)
Honesty panelActive, net negative
Traded 1302 times out of sample, net negative beyond chance (-163.8 R, -0.126 R per trade, t = -2.8); still active in the last quarter (-58.1 R over 437 trades).
In sample
2023-09-30 to 2025-11-05
-173.2 R
3358 trades · 32% wins
-0.052 R per trade · t = -1.8, within chance
about 4,287 trades to confirm this mean (-0.052 R per trade) at t = -2 · shown: 3358
spread 0.101 R per trade
Out of sample
2025-11-05 to 2026-09-30
-163.8 R
1302 trades · 29% wins
-0.126 R per trade · t = -2.8, beyond chance
about 672 trades to confirm this mean (-0.126 R per trade) at t = -2 · shown: 1302
spread 0.063 R per trade
Last quarter
last 91 days of the window
-58.1 R
437 trades · 29% wins
-0.133 R per trade · t = -1.7, within chance
about 614 trades to confirm this mean (-0.133 R per trade) at t = -2 · shown: 437
spread 0.084 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); 773 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 -180.2 R (-0.138 R per trade over 1302 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,923 signals placed, 4,660 filled, 263 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 90.4 pips, 2.50 ATR, 28 raised to the 10-pip floor); target 3 R; exits 66% at the stop, 22% at the target, 12% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (1,909 bars); max spread 30 pips (0 bars over it); M1 confirmation 2 pips (933 signals rejected).
x_usdjpy_atr_z > -0.05177 (p50)
Honesty panelActive, net negative
Traded 1174 times out of sample, net negative beyond chance (-137.9 R, -0.117 R per trade, t = -2.5); still active in the last quarter (-62.6 R over 395 trades).
In sample
2023-09-30 to 2025-11-05
-163.1 R
3112 trades · 32% wins
-0.052 R per trade · t = -1.7, within chance
about 4,205 trades to confirm this mean (-0.052 R per trade) at t = -2 · shown: 3112
spread 0.099 R per trade
Out of sample
2025-11-05 to 2026-09-30
-137.9 R
1174 trades · 30% wins
-0.117 R per trade · t = -2.5, beyond chance
about 776 trades to confirm this mean (-0.117 R per trade) at t = -2 · shown: 1174
spread 0.062 R per trade
Last quarter
last 91 days of the window
-62.6 R
395 trades · 29% wins
-0.158 R per trade · t = -1.9, within chance
about 424 trades to confirm this mean (-0.158 R per trade) at t = -2 · shown: 395
spread 0.082 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); 681 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 -152.6 R (-0.130 R per trade over 1174 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,510 signals placed, 4,286 filled, 224 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 91.5 pips, 2.50 ATR, 27 raised to the 10-pip floor); target 3 R; exits 66% at the stop, 22% at the target, 12% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (3,651 bars); max spread 30 pips (0 bars over it); M1 confirmation 2 pips (805 signals rejected).
x_usdjpy_atr_z > 0.2295 (p75)
Honesty panelActive, net negative
Traded 930 times out of sample, net negative beyond chance (-123.8 R, -0.133 R per trade, t = -2.5); still active in the last quarter (-54.8 R over 302 trades).
In sample
2023-09-30 to 2025-11-05
-133.3 R
2478 trades · 32% wins
-0.054 R per trade · t = -1.6, within chance
about 3,967 trades to confirm this mean (-0.054 R per trade) at t = -2 · shown: 2478
spread 0.091 R per trade
Out of sample
2025-11-05 to 2026-09-30
-123.8 R
930 trades · 29% wins
-0.133 R per trade · t = -2.5, beyond chance
about 593 trades to confirm this mean (-0.133 R per trade) at t = -2 · shown: 930
spread 0.054 R per trade
Last quarter
last 91 days of the window
-54.8 R
302 trades · 27% wins
-0.182 R per trade · t = -2.0, within chance
about 314 trades to confirm this mean (-0.182 R per trade) at t = -2 · shown: 302
spread 0.065 R per trade
Costs. Spread 0.081 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 448 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 -133.7 R (-0.144 R per trade over 930 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,589 signals placed, 3,408 filled, 181 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 92.3 pips, 2.50 ATR, 19 raised to the 10-pip floor); target 3 R; exits 66% at the stop, 22% at the target, 12% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (6,120 bars); max spread 30 pips (2 bars over it); M1 confirmation 2 pips (653 signals rejected).
x_usdjpy_atr_z > 0.5297 (p90)
Honesty panelNo edge shown
No edge shown out of sample: -60.3 R over 582 trades is -0.104 R per trade, within what chance produces (t = -1.5); about 1,024 trades would be needed to confirm this mean at t = -2, shown: 582.
In sample
2023-09-30 to 2025-11-05
-89.4 R
1462 trades · 32% wins
-0.061 R per trade · t = -1.4, within chance
about 3,043 trades to confirm this mean (-0.061 R per trade) at t = -2 · shown: 1462
spread 0.089 R per trade
Out of sample
2025-11-05 to 2026-09-30
-60.3 R
582 trades · 29% wins
-0.104 R per trade · t = -1.5, within chance
about 1,024 trades to confirm this mean (-0.104 R per trade) at t = -2 · shown: 582
spread 0.052 R per trade
Last quarter
last 91 days of the window
-25.6 R
187 trades · 28% wins
-0.137 R per trade · t = -1.1, within chance
about 578 trades to confirm this mean (-0.137 R per trade) at t = -2 · shown: 187
spread 0.060 R per trade
Costs. Spread 0.078 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 254 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 -66.4 R (-0.114 R per trade over 582 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 2,148 signals placed, 2,044 filled, 104 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 92.9 pips, 2.50 ATR, 7 raised to the 10-pip floor); target 3 R; exits 67% at the stop, 22% at the target, 11% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (9,935 bars); max spread 30 pips (7 bars over it); M1 confirmation 2 pips (364 signals rejected).
What x_usdjpy_atr_z measures
USDJPY ATR vs 50-bar average (ratio), on M5 bars. USDJPY ATR(14) minus its 50-bar average, divided by that average.
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.