NR7 breakout self-test, 2026-10-22T17:39:13.061Z 1. Hand-worked days (2 to 12 January 2024) A. six days of range 10, a seventh of range 6 (4797-4803): NR7 and NR4; the next day trades up through 4803.25 at minute 620 -> long, out at the close (4810) [ok] day 7 is NR7 and NR4; day 6 is not [ok] NR7-BO long at 4803.25, stop 4796.75, out 4810: 306.74 dollars; NR4-BO the same trade [ok] reference identical (3 variants) B. a tie: the seventh range equals an earlier one -> not NR7 (and not NR4 when the tie is in the last three) [ok] no NR7, no NR4, no trade; reference identical C. break down at minute 640 (low 4796.5 < 4796.75) -> short at 4796.75; a later bar reaches 4803.25 -> stopped at 4803.25 [ok] short stopped: -355.76; reference identical D. the next day opens at 4806, above the buy level -> long at the open 4806 [ok] long at 4806, flat day, out at 4806; reference identical E. one minute touches both levels (open 4801, nearer the buy level) -> long at 4803.25, stopped in the same minute at 4796.75 [ok] long and stopped in one minute; reference identical F. a day without its 09:31 bar inside the window is not usable: the window is the last seven usable days [ok] the 3-point day without 09:31 is ignored; day 7 is NR7; reference identical G. NR7-2D holds overnight: no stop -> out at the next day's close; an overnight bar (20:00) reaching the stop -> stopped at night [ok] held to the 12 January close at 4812; reference identical [ok] NR7-2D stopped at 20:00 at 4796.75, then free to take 12 January's setup; NR7-BO already out at the close; reference identical H. more than 7 calendar days between two usable days inside the window restarts the count -> no NR7 [ok] NR7 refused, NR4 kept (its window has no long gap); reference identical 2. Real data: engine against the independent reference 2378027 bars 2020-01-01 18:01 .. 2026-09-25 16:59 New York; 1737 usable days [ok] NR7-BO: 268 trades, reference 268, identical [ok] NR7-2D: 223 trades, reference 223, identical [ok] NR4-BO: 456 trades, reference 456, identical 3. Control at offset 0 [ok] NR7-BO: 268 control trades identical to the real ones [ok] NR7-2D: 223 control trades identical to the real ones [ok] NR4-BO: 456 control trades identical to the real ones PASSED