Does stoch_k above 53.899 work on GOLD? 2023 to 2026 backtest
GOLD long when Stochastic %K (14) 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
stoch_k > 11.415
-204.4 R / 3298
-143.9 R / 1292
-2.5
858
-69.4 R / 447
Active, net negative
p25
stoch_k > 27.173
-147.9 R / 3061
-164.7 R / 1210
-2.9
560
-69.5 R / 409
Active, net negative
p50
stoch_k > 53.899
-122.6 R / 2763
-147.8 R / 1128
-2.7
608
-62.9 R / 378
Active, net negative
p75
stoch_k > 79.073
-46.0 R / 2473
-143.0 R / 1012
-2.8
513
-66.3 R / 336
Active, net negative
p90
stoch_k > 91.975
-45.1 R / 2121
-83.7 R / 887
-1.7
1,202
-20.4 R / 271
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
stoch_k > 11.415 (p10)
Honesty panelActive, net negative
Traded 1292 times out of sample, net negative beyond chance (-143.9 R, -0.111 R per trade, t = -2.5); still active in the last quarter (-69.4 R over 447 trades).
In sample
2023-09-30 to 2025-11-05
-204.4 R
3298 trades · 32% wins
-0.062 R per trade · t = -2.1, beyond chance
about 2,920 trades to confirm this mean (-0.062 R per trade) at t = -2 · shown: 3298
spread 0.103 R per trade
Out of sample
2025-11-05 to 2026-09-30
-143.9 R
1292 trades · 30% wins
-0.111 R per trade · t = -2.5, beyond chance
about 858 trades to confirm this mean (-0.111 R per trade) at t = -2 · shown: 1292
spread 0.063 R per trade
Last quarter
last 91 days of the window
-69.4 R
447 trades · 29% wins
-0.155 R per trade · t = -2.0, beyond chance
about 440 trades to confirm this mean (-0.155 R per trade) at t = -2 · shown: 447
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); 801 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 -160.3 R (-0.124 R per trade over 1292 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,842 signals placed, 4,590 filled, 252 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 91.0 pips, 2.50 ATR, 28 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,130 bars); max spread 30 pips (1 bars over it); M1 confirmation 2 pips (932 signals rejected).
stoch_k > 27.173 (p25)
Honesty panelActive, net negative
Traded 1210 times out of sample, net negative beyond chance (-164.7 R, -0.136 R per trade, t = -2.9); still active in the last quarter (-69.5 R over 409 trades).
In sample
2023-09-30 to 2025-11-05
-147.9 R
3061 trades · 33% wins
-0.048 R per trade · t = -1.6, within chance
about 4,813 trades to confirm this mean (-0.048 R per trade) at t = -2 · shown: 3061
spread 0.103 R per trade
Out of sample
2025-11-05 to 2026-09-30
-164.7 R
1210 trades · 30% wins
-0.136 R per trade · t = -2.9, beyond chance
about 560 trades to confirm this mean (-0.136 R per trade) at t = -2 · shown: 1210
spread 0.063 R per trade
Last quarter
last 91 days of the window
-69.5 R
409 trades · 28% wins
-0.170 R per trade · t = -2.1, beyond chance
about 364 trades to confirm this mean (-0.170 R per trade) at t = -2 · shown: 409
spread 0.085 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); 740 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 -179.9 R (-0.149 R per trade over 1210 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,540 signals placed, 4,271 filled, 269 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, 23 raised to the 10-pip floor); target 3 R; exits 65% at the stop, 22% at the target, 14% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (1,503 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (940 signals rejected).
stoch_k > 53.899 (p50)
Honesty panelActive, net negative
Traded 1128 times out of sample, net negative beyond chance (-147.8 R, -0.131 R per trade, t = -2.7); still active in the last quarter (-62.9 R over 378 trades).
In sample
2023-09-30 to 2025-11-05
-122.6 R
2763 trades · 33% wins
-0.044 R per trade · t = -1.4, within chance
about 5,657 trades to confirm this mean (-0.044 R per trade) at t = -2 · shown: 2763
spread 0.098 R per trade
Out of sample
2025-11-05 to 2026-09-30
-147.8 R
1128 trades · 30% wins
-0.131 R per trade · t = -2.7, beyond chance
about 608 trades to confirm this mean (-0.131 R per trade) at t = -2 · shown: 1128
spread 0.060 R per trade
Last quarter
last 91 days of the window
-62.9 R
378 trades · 27% wins
-0.166 R per trade · t = -2.0, within chance
about 389 trades to confirm this mean (-0.166 R per trade) at t = -2 · shown: 378
spread 0.080 R per trade
Costs. Spread 0.087 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 587 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 -161.2 R (-0.143 R per trade over 1128 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,148 signals placed, 3,891 filled, 257 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 90.6 pips, 2.50 ATR, 22 raised to the 10-pip floor); target 3 R; exits 64% at the stop, 21% at the target, 14% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (2,213 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (945 signals rejected).
stoch_k > 79.073 (p75)
Honesty panelActive, net negative
Traded 1012 times out of sample, net negative beyond chance (-143.0 R, -0.141 R per trade, t = -2.8); still active in the last quarter (-66.3 R over 336 trades).
In sample
2023-09-30 to 2025-11-05
-46.0 R
2473 trades · 33% wins
-0.019 R per trade · t = -0.6, within chance
about 32,324 trades to confirm this mean (-0.019 R per trade) at t = -2 · shown: 2473
spread 0.089 R per trade
Out of sample
2025-11-05 to 2026-09-30
-143.0 R
1012 trades · 29% wins
-0.141 R per trade · t = -2.8, beyond chance
about 513 trades to confirm this mean (-0.141 R per trade) at t = -2 · shown: 1012
spread 0.056 R per trade
Last quarter
last 91 days of the window
-66.3 R
336 trades · 27% wins
-0.197 R per trade · t = -2.3, beyond chance
about 261 trades to confirm this mean (-0.197 R per trade) at t = -2 · shown: 336
spread 0.074 R per trade
Costs. Spread 0.080 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 404 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 -154.4 R (-0.153 R per trade over 1012 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,725 signals placed, 3,485 filled, 240 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 87.4 pips, 2.50 ATR, 15 raised to the 10-pip floor); target 3 R; exits 64% at the stop, 22% at the target, 15% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (3,085 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (854 signals rejected).
stoch_k > 91.975 (p90)
Honesty panelNo edge shown
No edge shown out of sample: -83.7 R over 887 trades is -0.094 R per trade, within what chance produces (t = -1.7); about 1,202 trades would be needed to confirm this mean at t = -2, shown: 887.
In sample
2023-09-30 to 2025-11-05
-45.1 R
2121 trades · 33% wins
-0.021 R per trade · t = -0.6, within chance
about 24,393 trades to confirm this mean (-0.021 R per trade) at t = -2 · shown: 2121
spread 0.082 R per trade
Out of sample
2025-11-05 to 2026-09-30
-83.7 R
887 trades · 30% wins
-0.094 R per trade · t = -1.7, within chance
about 1,202 trades to confirm this mean (-0.094 R per trade) at t = -2 · shown: 887
spread 0.051 R per trade
Last quarter
last 91 days of the window
-20.4 R
271 trades · 30% wins
-0.075 R per trade · t = -0.7, within chance
about 1,940 trades to confirm this mean (-0.075 R per trade) at t = -2 · shown: 271
spread 0.068 R per trade
Costs. Spread 0.073 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread); 266 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 -92.8 R (-0.105 R per trade over 887 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,218 signals placed, 3,008 filled, 210 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 86.4 pips, 2.50 ATR, 8 raised to the 10-pip floor); target 3 R; exits 63% at the stop, 22% at the target, 15% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (4,724 bars); max spread 30 pips (4 bars over it); M1 confirmation 2 pips (704 signals rejected).
What stoch_k measures
Stochastic %K (14) (index), on M5 bars. Position of the close within the 14-bar high-low range, 0 to 100.
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.