Does upper_wick_ratio below 0.2157 work on EURJPY? 2023 to 2026 backtest
EURJPY long when Upper wick to range is below the threshold, tested at five thresholds taken from the feature’s own distribution on EURJPY 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.5 R, held overnight, max spread 3 pips, one-minute confirmation 1 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
upper_wick_ratio < 0.01613
-613.0 R / 2185
-183.5 R / 702
-4.0
174
-89.7 R / 243
Active, net negative
p25
upper_wick_ratio < 0.08108
-726.2 R / 2584
-229.6 R / 855
-4.5
170
-111.8 R / 290
Active, net negative
p50
upper_wick_ratio < 0.2157
-716.5 R / 2668
-259.6 R / 917
-4.9
152
-110.2 R / 296
Active, net negative
p75
upper_wick_ratio < 0.4
-734.7 R / 2693
-259.6 R / 920
-4.9
153
-98.4 R / 289
Active, net negative
p90
upper_wick_ratio < 0.5846
-764.8 R / 2711
-264.0 R / 928
-5.0
151
-105.3 R / 293
Active, net negative
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
upper_wick_ratio < 0.01613 (p10)
Honesty panelActive, net negative
Traded 702 times out of sample, net negative beyond chance (-183.5 R, -0.261 R per trade, t = -4.0); still active in the last quarter (-89.7 R over 243 trades).
In sample
2023-09-30 to 2025-11-05
-613.0 R
2185 trades · 29% wins
-0.281 R per trade · t = -7.8, beyond chance
about 143 trades to confirm this mean (-0.281 R per trade) at t = -2 · shown: 2185
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-183.5 R
702 trades · 31% wins
-0.261 R per trade · t = -4.0, beyond chance
about 174 trades to confirm this mean (-0.261 R per trade) at t = -2 · shown: 702
spread 0.157 R per trade
Last quarter
last 91 days of the window
-89.7 R
243 trades · 28% wins
-0.369 R per trade · t = -3.4, beyond chance
about 82 trades to confirm this mean (-0.369 R per trade) at t = -2 · shown: 243
spread 0.176 R per trade
Costs. Spread 0.112 R per trade at 1.25 times the bar’s minimum. Fill offset 0.24 stop-distances on every entry, measured on 560 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -205.6 R (-0.293 R per trade over 702 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,555 signals placed, 2,887 filled, 668 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 20.5 pips, 2.61 ATR, 554 raised to the 10-pip floor); target 3.5 R; exits 64% at the stop, 21% at the day end, 15% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (10,623 bars); max spread 3 pips (7,324 bars over it); M1 confirmation 1 pips (1,333 signals rejected).
upper_wick_ratio < 0.08108 (p25)
Honesty panelActive, net negative
Traded 855 times out of sample, net negative beyond chance (-229.6 R, -0.269 R per trade, t = -4.5); still active in the last quarter (-111.8 R over 290 trades).
In sample
2023-09-30 to 2025-11-05
-726.2 R
2584 trades · 29% wins
-0.281 R per trade · t = -8.4, beyond chance
about 146 trades to confirm this mean (-0.281 R per trade) at t = -2 · shown: 2584
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-229.6 R
855 trades · 30% wins
-0.269 R per trade · t = -4.5, beyond chance
about 170 trades to confirm this mean (-0.269 R per trade) at t = -2 · shown: 855
spread 0.157 R per trade
Last quarter
last 91 days of the window
-111.8 R
290 trades · 27% wins
-0.385 R per trade · t = -3.9, beyond chance
about 75 trades to confirm this mean (-0.385 R per trade) at t = -2 · shown: 290
spread 0.175 R per trade
Costs. Spread 0.112 R per trade at 1.25 times the bar’s minimum. Fill offset 0.24 stop-distances on every entry, measured on 560 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -256.4 R (-0.300 R per trade over 855 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,235 signals placed, 3,439 filled, 796 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 20.6 pips, 2.60 ATR, 578 raised to the 10-pip floor); target 3.5 R; exits 66% at the stop, 19% at the day end, 15% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (9,404 bars); max spread 3 pips (6,925 bars over it); M1 confirmation 1 pips (1,535 signals rejected).
upper_wick_ratio < 0.2157 (p50)
Honesty panelActive, net negative
Traded 917 times out of sample, net negative beyond chance (-259.6 R, -0.283 R per trade, t = -4.9); still active in the last quarter (-110.2 R over 296 trades).
In sample
2023-09-30 to 2025-11-05
-716.5 R
2668 trades · 29% wins
-0.269 R per trade · t = -8.1, beyond chance
about 162 trades to confirm this mean (-0.269 R per trade) at t = -2 · shown: 2668
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-259.6 R
917 trades · 30% wins
-0.283 R per trade · t = -4.9, beyond chance
about 152 trades to confirm this mean (-0.283 R per trade) at t = -2 · shown: 917
spread 0.157 R per trade
Last quarter
last 91 days of the window
-110.2 R
296 trades · 28% wins
-0.372 R per trade · t = -3.8, beyond chance
about 81 trades to confirm this mean (-0.372 R per trade) at t = -2 · shown: 296
spread 0.173 R per trade
Costs. Spread 0.112 R per trade at 1.25 times the bar’s minimum. Fill offset 0.24 stop-distances on every entry, measured on 560 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -288.5 R (-0.315 R per trade over 917 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,380 signals placed, 3,585 filled, 795 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 20.8 pips, 2.60 ATR, 581 raised to the 10-pip floor); target 3.5 R; exits 66% at the stop, 19% at the day end, 15% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (9,021 bars); max spread 3 pips (6,427 bars over it); M1 confirmation 1 pips (1,620 signals rejected).
upper_wick_ratio < 0.4 (p75)
Honesty panelActive, net negative
Traded 920 times out of sample, net negative beyond chance (-259.6 R, -0.282 R per trade, t = -4.9); still active in the last quarter (-98.4 R over 289 trades).
In sample
2023-09-30 to 2025-11-05
-734.7 R
2693 trades · 29% wins
-0.273 R per trade · t = -8.2, beyond chance
about 159 trades to confirm this mean (-0.273 R per trade) at t = -2 · shown: 2693
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-259.6 R
920 trades · 30% wins
-0.282 R per trade · t = -4.9, beyond chance
about 153 trades to confirm this mean (-0.282 R per trade) at t = -2 · shown: 920
spread 0.159 R per trade
Last quarter
last 91 days of the window
-98.4 R
289 trades · 28% wins
-0.341 R per trade · t = -3.4, beyond chance
about 99 trades to confirm this mean (-0.341 R per trade) at t = -2 · shown: 289
spread 0.170 R per trade
Costs. Spread 0.113 R per trade at 1.25 times the bar’s minimum. Fill offset 0.24 stop-distances on every entry, measured on 560 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -288.8 R (-0.314 R per trade over 920 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,429 signals placed, 3,613 filled, 816 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 20.9 pips, 2.59 ATR, 594 raised to the 10-pip floor); target 3.5 R; exits 66% at the stop, 19% at the day end, 15% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (8,938 bars); max spread 3 pips (6,036 bars over it); M1 confirmation 1 pips (1,608 signals rejected).
upper_wick_ratio < 0.5846 (p90)
Honesty panelActive, net negative
Traded 928 times out of sample, net negative beyond chance (-264.0 R, -0.284 R per trade, t = -5.0); still active in the last quarter (-105.3 R over 293 trades).
In sample
2023-09-30 to 2025-11-05
-764.8 R
2711 trades · 29% wins
-0.282 R per trade · t = -8.6, beyond chance
about 148 trades to confirm this mean (-0.282 R per trade) at t = -2 · shown: 2711
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-264.0 R
928 trades · 30% wins
-0.284 R per trade · t = -5.0, beyond chance
about 151 trades to confirm this mean (-0.284 R per trade) at t = -2 · shown: 928
spread 0.159 R per trade
Last quarter
last 91 days of the window
-105.3 R
293 trades · 28% wins
-0.359 R per trade · t = -3.7, beyond chance
about 88 trades to confirm this mean (-0.359 R per trade) at t = -2 · shown: 293
spread 0.169 R per trade
Costs. Spread 0.113 R per trade at 1.25 times the bar’s minimum. Fill offset 0.24 stop-distances on every entry, measured on 560 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -293.4 R (-0.316 R per trade over 928 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,465 signals placed, 3,639 filled, 826 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 20.9 pips, 2.59 ATR, 600 raised to the 10-pip floor); target 3.5 R; exits 66% at the stop, 19% at the day end, 15% at the target.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (8,887 bars); max spread 3 pips (5,816 bars over it); M1 confirmation 1 pips (1,565 signals rejected).
What upper_wick_ratio measures
Upper wick to range (fraction), on M5 bars. High minus the higher of open and close, divided by the bar's range.
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.