Gold Sneaky Pivot self-test, 2026-10-23T06:47:43.963Z 1. Hand-worked days (January and February 2024) A. levels: 22 days of range 10 at 1800 (one of range 30) -> range 1795-1805, swing high 1815, swing low 1785, 20-day average range 11; without the wide day no swing level [ok] range 1795-1805, swing 1785/1815, 20-day average range 11 [ok] no earlier day beyond the range: no swing levels B. broker day: a 1830 high stamped 17:00 on 31 January belongs to 31 January (range high 1830 on 1 February); stamped 17:01 it belongs to 1 February [ok] 17:00 -> range high 1830; 17:01 -> range high 1805, the test day's own high 1830 C. usable days: 31 January with 599 minutes, or without its 08:21 minute, is not usable (the previous usable day becomes 30 January, range 1790-1810); with 600 minutes it is; a 9-day gap: no trading day [ok] 599 minutes -> 1790-1810; no 08:21 -> 1790-1810; 600 minutes -> 1795-1805 [ok] test day 9 calendar days after the previous usable day: not a trading day D. a long: bar 1 to 1794.50, green bar 2 (high 1798.37), buy at 1798.38 in bar 3 (a minute whose high is exactly the level), stop 1794.49; T1 1802, T2 1805 [ok] T1: long 1798.38 at 08:55 -> 1802, 3.32 $/oz (raw 1798.37 + 0.01 = 1798.3799999999999) [ok] T2: long 1798.38 -> 1805, 6.32 $/oz; reference identical E. near tolerance: bar 1 low 1795.80 (above the range low 1795, within 10% of the 11-dollar average range) -> near variants trade, strict ones do not [ok] strict: no setup; near: long, stop 1795.79; reference identical F. sneaky on bar 3 (bar 2 red), entry in bar 4 at 09:10; G. a minute at the stop (1794.49) after the sneaky bar cancels; H. bar 1 reaching both range lines: no trade [ok] bar 3 sneaky, entry at 09:10 at 1798.01; reference identical [ok] cancelled by the 1794.49 low before the entry; reference identical [ok] bar 1 at 1806 and 1794.50: both setups, no trade; reference identical I. a short mirrored: bar 1 to 1805.20 (above 1805), red bar 2 (low 1802.40), sell at 1802.39 in bar 3, stop 1805.21; no target by 13:30 -> out at the 13:30 close (1799); a 13:31 minute at 1790 is ignored [ok] short 1802.39 -> 1799 at 13:30: 3.09 $/oz; reference identical [ok] T1 = bar 1 low 1798, below the entry: the short trades, the target is not reached by 13:30, out at the close J. a minute reaching both the buy stop (1798.38) and the stop (1794.49) while waiting: the stop is checked first, so the setup is cancelled [ok] no trade; reference identical 2. Real data: engine against the independent reference (corrected clock, the uncorrected clock, and the clock audit's clock, added 23 Oct after the results) corrected clock: 7067434 minutes 2004-06-11 00:19 .. 2026-10-07 16:57 New York; 5336 usable days, 5297 trading days [ok] SX-STRICT-T1: 612 trades, reference 612, identical [ok] SX-STRICT-T2: 1221 trades, reference 1221, identical [ok] SX-NEAR-T1: 777 trades, reference 777, identical [ok] SX-NEAR-T2: 1547 trades, reference 1547, identical uncorrected clock: 7067434 minutes 2004-06-11 00:19 .. 2026-10-07 16:57 New York; 5336 usable days, 5297 trading days [ok] SX-STRICT-T1: 613 trades, reference 613, identical [ok] SX-STRICT-T2: 1230 trades, reference 1230, identical [ok] SX-NEAR-T1: 778 trades, reference 778, identical [ok] SX-NEAR-T2: 1558 trades, reference 1558, identical clock-audit clock: 7067434 minutes 2004-06-11 01:19 .. 2026-10-07 16:57 New York; 5355 usable days, 5318 trading days [ok] SX-STRICT-T1: 648 trades, reference 648, identical [ok] SX-STRICT-T2: 1222 trades, reference 1222, identical [ok] SX-NEAR-T1: 820 trades, reference 820, identical [ok] SX-NEAR-T2: 1554 trades, reference 1554, identical 3. Control machinery at offset 0 (with the real entry prices; the control itself enters at the minute open) [ok] SX-STRICT-T1: 612 control trades identical to the real ones [ok] SX-STRICT-T2: 1221 control trades identical to the real ones [ok] SX-NEAR-T1: 777 control trades identical to the real ones [ok] SX-NEAR-T2: 1547 control trades identical to the real ones PASSED