Does d1_price_vs_ema50_atr above 33.803 work on GOLD? 2023 to 2026 backtest
GOLD long when Close vs D1 EMA50 (M5 ATR) 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
d1_price_vs_ema50_atr > -22.84
-189.1 R / 3372
-59.7 R / 995
-1.1
3,017
-28.8 R / 290
No edge shown
p25
d1_price_vs_ema50_atr > 6.873
-231.3 R / 2974
-9.1 R / 704
-0.2
67,015
-5.5 R / 177
No edge shown
p50
d1_price_vs_ema50_atr > 33.803
-124.6 R / 2188
-33.9 R / 556
-0.9
2,981
-17.1 R / 117
No edge shown
p75
d1_price_vs_ema50_atr > 65.945
-71.8 R / 1434
-22.8 R / 364
-0.7
2,971
-15.3 R / 56
No edge shown
p90
d1_price_vs_ema50_atr > 98.738
-45.2 R / 821
+16.1 R / 161
0.7
1,323
-5.3 R / 19
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
d1_price_vs_ema50_atr > -22.84 (p10)
Honesty panelNo edge shown
No edge shown out of sample: -59.7 R over 995 trades is -0.060 R per trade, within what chance produces (t = -1.1); about 3,017 trades would be needed to confirm this mean at t = -2, shown: 995.
In sample
2023-09-30 to 2025-11-05
-189.1 R
3372 trades · 32% wins
-0.056 R per trade · t = -1.9, within chance
about 3,590 trades to confirm this mean (-0.056 R per trade) at t = -2 · shown: 3372
spread 0.101 R per trade
Out of sample
2025-11-05 to 2026-09-30
-59.7 R
995 trades · 31% wins
-0.060 R per trade · t = -1.1, within chance
about 3,017 trades to confirm this mean (-0.060 R per trade) at t = -2 · shown: 995
spread 0.056 R per trade
Last quarter
last 91 days of the window
-28.8 R
290 trades · 30% wins
-0.099 R per trade · t = -1.0, within chance
about 1,103 trades to confirm this mean (-0.099 R per trade) at t = -2 · shown: 290
spread 0.079 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); 726 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 -70.8 R (-0.071 R per trade over 995 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,592 signals placed, 4,367 filled, 225 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 88.2 pips, 2.50 ATR, 23 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 (1,901 bars); max spread 30 pips (0 bars over it); M1 confirmation 2 pips (861 signals rejected).
d1_price_vs_ema50_atr > 6.873 (p25)
Honesty panelNo edge shown
No edge shown out of sample: -9.1 R over 704 trades is -0.013 R per trade, within what chance produces (t = -0.2); about 67,015 trades would be needed to confirm this mean at t = -2, shown: 704.
In sample
2023-09-30 to 2025-11-05
-231.3 R
2974 trades · 32% wins
-0.078 R per trade · t = -2.5, beyond chance
about 1,848 trades to confirm this mean (-0.078 R per trade) at t = -2 · shown: 2974
spread 0.101 R per trade
Out of sample
2025-11-05 to 2026-09-30
-9.1 R
704 trades · 32% wins
-0.013 R per trade · t = -0.2, within chance
about 67,015 trades to confirm this mean (-0.013 R per trade) at t = -2 · shown: 704
spread 0.055 R per trade
Last quarter
last 91 days of the window
-5.5 R
177 trades · 29% wins
-0.031 R per trade · t = -0.2, within chance
about 12,096 trades to confirm this mean (-0.031 R per trade) at t = -2 · shown: 177
spread 0.084 R per trade
Costs. Spread 0.092 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 624 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 -16.9 R (-0.024 R per trade over 704 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,873 signals placed, 3,678 filled, 195 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 83.1 pips, 2.50 ATR, 21 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 (4,400 bars); max spread 30 pips (2 bars over it); M1 confirmation 2 pips (784 signals rejected).
d1_price_vs_ema50_atr > 33.803 (p50)
Honesty panelNo edge shown
No edge shown out of sample: -33.9 R over 556 trades is -0.061 R per trade, within what chance produces (t = -0.9); about 2,981 trades would be needed to confirm this mean at t = -2, shown: 556.
In sample
2023-09-30 to 2025-11-05
-124.6 R
2188 trades · 32% wins
-0.057 R per trade · t = -1.6, within chance
about 3,508 trades to confirm this mean (-0.057 R per trade) at t = -2 · shown: 2188
spread 0.105 R per trade
Out of sample
2025-11-05 to 2026-09-30
-33.9 R
556 trades · 31% wins
-0.061 R per trade · t = -0.9, within chance
about 2,981 trades to confirm this mean (-0.061 R per trade) at t = -2 · shown: 556
spread 0.057 R per trade
Last quarter
last 91 days of the window
-17.1 R
117 trades · 28% wins
-0.146 R per trade · t = -1.0, within chance
about 514 trades to confirm this mean (-0.146 R per trade) at t = -2 · shown: 117
spread 0.093 R per trade
Costs. Spread 0.095 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 470 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 -40.3 R (-0.072 R per trade over 556 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 2,910 signals placed, 2,744 filled, 166 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 72.6 pips, 2.50 ATR, 19 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 23% at the target, 12% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (7,460 bars); max spread 30 pips (3 bars over it); M1 confirmation 2 pips (585 signals rejected).
d1_price_vs_ema50_atr > 65.945 (p75)
Honesty panelNo edge shown
No edge shown out of sample: -22.8 R over 364 trades is -0.063 R per trade, within what chance produces (t = -0.7); about 2,971 trades would be needed to confirm this mean at t = -2, shown: 364.
In sample
2023-09-30 to 2025-11-05
-71.8 R
1434 trades · 31% wins
-0.050 R per trade · t = -1.1, within chance
about 4,716 trades to confirm this mean (-0.050 R per trade) at t = -2 · shown: 1434
spread 0.121 R per trade
Out of sample
2025-11-05 to 2026-09-30
-22.8 R
364 trades · 30% wins
-0.063 R per trade · t = -0.7, within chance
about 2,971 trades to confirm this mean (-0.063 R per trade) at t = -2 · shown: 364
spread 0.065 R per trade
Last quarter
last 91 days of the window
-15.3 R
56 trades · 25% wins
-0.273 R per trade · t = -1.2, within chance
about 144 trades to confirm this mean (-0.273 R per trade) at t = -2 · shown: 56
spread 0.113 R per trade
Costs. Spread 0.110 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 315 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 -27.6 R (-0.076 R per trade over 364 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 1,938 signals placed, 1,798 filled, 140 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 57.3 pips, 2.50 ATR, 16 raised to the 10-pip floor); target 3 R; exits 66% at the stop, 25% at the target, 9% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (10,954 bars); max spread 30 pips (6 bars over it); M1 confirmation 2 pips (490 signals rejected).
d1_price_vs_ema50_atr > 98.738 (p90)
Honesty panelNet positive, not distinguishable from chance
Net positive out of sample, not yet distinguishable from chance: +16.1 R over 161 trades is +0.100 R per trade, t = 0.7; about 1,323 trades would be needed to confirm this mean at t = 2, shown: 161; last quarter -5.3 R over 19 trades.
In sample
2023-09-30 to 2025-11-05
-45.2 R
821 trades · 31% wins
-0.055 R per trade · t = -0.9, within chance
about 4,042 trades to confirm this mean (-0.055 R per trade) at t = -2 · shown: 821
spread 0.143 R per trade
Out of sample
2025-11-05 to 2026-09-30
+16.1 R
161 trades · 33% wins
+0.100 R per trade · t = 0.7, within chance
about 1,323 trades to confirm this mean (+0.100 R per trade) at t = 2 · shown: 161
spread 0.075 R per trade
Last quarter
last 91 days of the window
-5.3 R
19 trades · 26% wins
-0.277 R per trade · t = -0.7, within chance
about 143 trades to confirm this mean (-0.277 R per trade) at t = -2 · shown: 19
spread 0.174 R per trade
Costs. Spread 0.132 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 174 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 +13.7 R (+0.085 R per trade over 161 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 1,065 signals placed, 982 filled, 83 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 47.3 pips, 2.51 ATR, 15 raised to the 10-pip floor); target 3 R; exits 67% at the stop, 27% at the target, 6% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (13,579 bars); max spread 30 pips (7 bars over it); M1 confirmation 2 pips (291 signals rejected).
What d1_price_vs_ema50_atr measures
Close vs D1 EMA50 (M5 ATR) (atr), on D1 bars. M5 close minus the daily EMA50 of the last completed day, in multiples of the M5 ATR(14).
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.