Does price_vs_50d_high_atr below -37.615 work on DJI30? 2023 to 2026 backtest
DJI30 long when Close vs 50-day high (ATR) is below the threshold, tested at five thresholds taken from the feature’s own distribution on DJI30 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 50 pips, one-minute confirmation 0.2 ATR, 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
price_vs_50d_high_atr < -146.4
-98.0 R / 543
-29.7 R / 199
-1.1
695
-8.5 R / 95
No edge shown
p25
price_vs_50d_high_atr < -78.142
-114.2 R / 995
-50.8 R / 479
-1.2
1,355
-51.7 R / 212
No edge shown
p50
price_vs_50d_high_atr < -37.615
-196.6 R / 1707
-82.9 R / 847
-1.5
1,490
-45.7 R / 335
No edge shown
p75
price_vs_50d_high_atr < -15.421
-261.9 R / 2316
-134.9 R / 1140
-2.2
948
-64.2 R / 390
Active, net negative
p90
price_vs_50d_high_atr < -6.179
-321.8 R / 2798
-165.9 R / 1258
-2.6
739
-67.4 R / 416
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
price_vs_50d_high_atr < -146.4 (p10)
Honesty panelNo edge shown
No edge shown out of sample: -29.7 R over 199 trades is -0.149 R per trade, within what chance produces (t = -1.1); about 695 trades would be needed to confirm this mean at t = -2, shown: 199.
In sample
2023-09-30 to 2025-11-05
-98.0 R
543 trades · 25% wins
-0.180 R per trade · t = -2.2, beyond chance
about 465 trades to confirm this mean (-0.180 R per trade) at t = -2 · shown: 543
spread 0.154 R per trade
Out of sample
2025-11-05 to 2026-09-30
-29.7 R
199 trades · 25% wins
-0.149 R per trade · t = -1.1, within chance
about 695 trades to confirm this mean (-0.149 R per trade) at t = -2 · shown: 199
spread 0.140 R per trade
Last quarter
last 91 days of the window
-8.5 R
95 trades · 27% wins
-0.089 R per trade · t = -0.4, within chance
about 2,058 trades to confirm this mean (-0.089 R per trade) at t = -2 · shown: 95
spread 0.177 R per trade
Costs. Spread 0.150 R per trade at 1.25 times the bar’s minimum. Fill offset 0.14 stop-distances on every entry, measured on 931 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -35.2 R (-0.177 R per trade over 199 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 751 signals placed, 742 filled, 9 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 343.9 pips, 2.50 ATR); target 3.5 R; exits 75% at the stop, 25% at the target, 0% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (15,499 bars); max spread 50 pips (1,640 bars over it); M1 confirmation 0.2 atr (287 signals rejected).
price_vs_50d_high_atr < -78.142 (p25)
Honesty panelNo edge shown
No edge shown out of sample: -50.8 R over 479 trades is -0.106 R per trade, within what chance produces (t = -1.2); about 1,355 trades would be needed to confirm this mean at t = -2, shown: 479.
In sample
2023-09-30 to 2025-11-05
-114.2 R
995 trades · 26% wins
-0.115 R per trade · t = -1.9, within chance
about 1,150 trades to confirm this mean (-0.115 R per trade) at t = -2 · shown: 995
spread 0.119 R per trade
Out of sample
2025-11-05 to 2026-09-30
-50.8 R
479 trades · 27% wins
-0.106 R per trade · t = -1.2, within chance
about 1,355 trades to confirm this mean (-0.106 R per trade) at t = -2 · shown: 479
spread 0.106 R per trade
Last quarter
last 91 days of the window
-51.7 R
212 trades · 24% wins
-0.244 R per trade · t = -1.9, within chance
about 224 trades to confirm this mean (-0.244 R per trade) at t = -2 · shown: 212
spread 0.115 R per trade
Costs. Spread 0.115 R per trade at 1.25 times the bar’s minimum (more than the trades made before spread). Fill offset 0.14 stop-distances on every entry, measured on 931 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -61.0 R (-0.127 R per trade over 479 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 1,485 signals placed, 1,474 filled, 11 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 488.6 pips, 2.50 ATR); target 3.5 R; exits 73% at the stop, 24% at the target, 3% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (14,223 bars); max spread 50 pips (1,388 bars over it); M1 confirmation 0.2 atr (544 signals rejected).
price_vs_50d_high_atr < -37.615 (p50)
Honesty panelNo edge shown
No edge shown out of sample: -82.9 R over 847 trades is -0.098 R per trade, within what chance produces (t = -1.5); about 1,490 trades would be needed to confirm this mean at t = -2, shown: 847.
In sample
2023-09-30 to 2025-11-05
-196.6 R
1707 trades · 27% wins
-0.115 R per trade · t = -2.5, beyond chance
about 1,075 trades to confirm this mean (-0.115 R per trade) at t = -2 · shown: 1707
spread 0.097 R per trade
Out of sample
2025-11-05 to 2026-09-30
-82.9 R
847 trades · 28% wins
-0.098 R per trade · t = -1.5, within chance
about 1,490 trades to confirm this mean (-0.098 R per trade) at t = -2 · shown: 847
spread 0.082 R per trade
Last quarter
last 91 days of the window
-45.7 R
335 trades · 28% wins
-0.137 R per trade · t = -1.4, within chance
about 704 trades to confirm this mean (-0.137 R per trade) at t = -2 · shown: 335
spread 0.087 R per trade
Costs. Spread 0.092 R per trade at 1.25 times the bar’s minimum. Fill offset 0.14 stop-distances on every entry, measured on 931 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -96.8 R (-0.114 R per trade over 847 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 2,571 signals placed, 2,554 filled, 17 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 624.0 pips, 2.50 ATR); target 3.5 R; exits 71% at the stop, 22% at the target, 7% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (10,624 bars); max spread 50 pips (1,246 bars over it); M1 confirmation 0.2 atr (913 signals rejected).
price_vs_50d_high_atr < -15.421 (p75)
Honesty panelActive, net negative
Traded 1140 times out of sample, net negative beyond chance (-134.9 R, -0.118 R per trade, t = -2.2); still active in the last quarter (-64.2 R over 390 trades).
In sample
2023-09-30 to 2025-11-05
-261.9 R
2316 trades · 29% wins
-0.113 R per trade · t = -3.0, beyond chance
about 1,049 trades to confirm this mean (-0.113 R per trade) at t = -2 · shown: 2316
spread 0.083 R per trade
Out of sample
2025-11-05 to 2026-09-30
-134.9 R
1140 trades · 28% wins
-0.118 R per trade · t = -2.2, beyond chance
about 948 trades to confirm this mean (-0.118 R per trade) at t = -2 · shown: 1140
spread 0.068 R per trade
Last quarter
last 91 days of the window
-64.2 R
390 trades · 27% wins
-0.165 R per trade · t = -1.8, within chance
about 462 trades to confirm this mean (-0.165 R per trade) at t = -2 · shown: 390
spread 0.075 R per trade
Costs. Spread 0.078 R per trade at 1.25 times the bar’s minimum. Fill offset 0.14 stop-distances on every entry, measured on 931 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -150.5 R (-0.132 R per trade over 1140 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 3,485 signals placed, 3,456 filled, 29 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 718.6 pips, 2.50 ATR); target 3.5 R; exits 69% at the stop, 20% at the target, 11% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (6,081 bars); max spread 50 pips (1,240 bars over it); M1 confirmation 0.2 atr (1,132 signals rejected).
price_vs_50d_high_atr < -6.179 (p90)
Honesty panelActive, net negative
Traded 1258 times out of sample, net negative beyond chance (-165.9 R, -0.132 R per trade, t = -2.6); still active in the last quarter (-67.4 R over 416 trades).
In sample
2023-09-30 to 2025-11-05
-321.8 R
2798 trades · 29% wins
-0.115 R per trade · t = -3.4, beyond chance
about 986 trades to confirm this mean (-0.115 R per trade) at t = -2 · shown: 2798
spread 0.078 R per trade
Out of sample
2025-11-05 to 2026-09-30
-165.9 R
1258 trades · 28% wins
-0.132 R per trade · t = -2.6, beyond chance
about 739 trades to confirm this mean (-0.132 R per trade) at t = -2 · shown: 1258
spread 0.065 R per trade
Last quarter
last 91 days of the window
-67.4 R
416 trades · 27% wins
-0.162 R per trade · t = -1.9, within chance
about 478 trades to confirm this mean (-0.162 R per trade) at t = -2 · shown: 416
spread 0.074 R per trade
Costs. Spread 0.074 R per trade at 1.25 times the bar’s minimum. Fill offset 0.14 stop-distances on every entry, measured on 931 demo fills. At 1.5 times the bar’s minimum the out-of-sample figure would read -182.3 R (-0.145 R per trade over 1258 trades).
Entry: stop order 2 pips past the signal close, cancelled after 4 bars; 4,090 signals placed, 4,056 filled, 34 expired; trigger state, an entry on every bar the conditions hold while flat.
Exit: stop 2.5 ATR (mean 743.3 pips, 2.50 ATR); target 3.5 R; exits 69% at the stop, 19% at the target, 12% at the day end.
Filters: signals on every weekday; no entries 22:00 to 01:00 broker time (2,889 bars); max spread 50 pips (1,050 bars over it); M1 confirmation 0.2 atr (1,325 signals rejected).
What price_vs_50d_high_atr measures
Close vs 50-day high (ATR) (atr), on M5 bars. Close minus the highest high of the last 14,400 M5 bars (fifty 24-hour days), in ATR multiples.
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.