spec hash equals the frozen one ok hand: the 20-day average (stand-in for the 200-day one) ok hand: LOW7 and HIGH7 (a tie counts; the window is today and the 6 days before) ok hand: one trade, bought at the close of day 30 (the tie), sold at the close of day 34 (the tie with day 29, before the entry) - [[30,34]] ok hand: the trade stays open when the close falls below the average (day 31: 50 < 51.3) ok hand: no entry at a 7-day low below the average (day 37: 49 < 58.05) ok hand: the dividend inside the trade, and the cost - 18.129572 ok hand: one cent above the lowest of the 6 closes before it is not a 7-day low (no trade at all in that series) - [] ok hand: one cent below the highest of the 6 closes before it is not a 7-day high (the exit waits until day 38) - [[30,38]] ok hand: a trade open at the end of the data closes at the last close, flagged ok hand: after an exit on day k the next entry is considered from day k + 1 (never on the exit day) - [[20,21],[22,23],[24,25],[26,27],[28,29],[30,34],[35,38]] ok hand: next-open fills (bought at the open of day 31, sold at the open of day 35) - 18.055014 ok hand: equity with T-bill interest while out (14 days) and half the cost at entry and exit ok hand: the mutation "filter at the exit too" would exit on day 31 (so the rule as written does not) real data: 8489 days, 1993-01-29 .. 2026-10-20; signals from 1994-01-24 ok real: the reference reads the same days, closes and dividends ok real: LOW7, HIGH7, SMA(200) and SMA(5) equal to the reference on every day - 0 differences ok real: D7 engine = separate re-implementation, trade by trade - 326 vs 326 trades ok real: no trade before day 249, none on its own exit day, entries only at a 7-day low above SMA(200), exits only at a 7-day high ok real: the control machinery with the real entries reproduces the real trades ok real: every D7 entry day lies in the control pool, apart from five equal closes - 0 outside the pool ok real: control entries only on days above SMA(200) and below SMA(5), while flat ok real: control calibrated to the real trade count (20 runs) - 333.5 vs 326 ok mutation detected: a 6-day window - 396 trades vs 326 ok mutation detected: an 8-day window - 285 trades vs 326 ok mutation detected: an exit window of 5 days - 363 trades vs 326 ok mutation detected: the 200-day filter also at the exit - 326 trades vs 326 ok mutation detected: fills at the next open - 326 trades vs 326 PASSED