R0823: PASS

Descriptive statistics, no trading costs in the probabilities (the backtest columns alone use estimated costs). Rules were discovered and tuned on 2022-01 → 2024-12 only, frozen, then tested once on 2025-01 → 2026-10. Millions of hypotheses were searched, so read the corrected p-values and the out-of-sample columns, not the training hit rates. Not investment advice; not a trading system.

Rule: When size of the move from the open to 13:00 (either direction) ≥ 0.64% (≈160 pts at 25,000) AND position in today's range so far (0 = at low, 1 = at high) ≤ 0.195 AND price has not touched the prior-day high yet at 13:00

Target: price never trades back to the open after 13:00  ·  Decision time: 13:00 IST (uses bars up to 13:00 only)  ·  Method: subgroup  ·  Family: level / structure

100%train hit (n=45) vs base 61% · lift 1.64
100%OOS hit (n=23) vs base 67% · lift 1.50
[86%–100%]OOS Wilson 95% CI
5.5e-04OOS BH q (all) · family BH q 3.3e-04 · Holm 0.074
5.0e-04OOS matched-random placebo p

Verdict criteria

Train p 4.2e-10; train BH q 1.1e-07; train Holm 0.004 (corrections over all 9,242,869 hypotheses); whole-pipeline shuffled-label placebo family-wise p 0.010 (100 permutations). Extra conditions beat the best single condition OOS: False.

By year

yearrule dayshitbase (all days)lift
202216100%61%1.63
202313100%60%1.66
202416100%61%1.63
2025 (OOS)9100%72%1.39
2026 (OOS)14100%60%1.66

Spot-points backtest (estimated costs)

enter at 13:00 price in the move direction; stop 0.4% of entry; exit at close. Costs: Nifty futures round-trip model from nifty-setups-backtest/src/costs.py (brokerage, exchange, SEBI, stamp, GST, STT by date: 0.0125% → 0.02% from Oct-2024 → 0.05% from Apr-2026) + 0.5 pt slippage per side; spot used as a futures proxy (basis ignored); stop-first on ambiguous bars.

windowtradeswin rateavg net ptsavg gross ptstotal netmax DD ptsPF
train 2022–24 (in-sample)4544%-9.1-2.6-407.6+884.8+0.7
OOS 2025–262348%-11.3-1.2-259.1+325.3+0.7

equity curve

trades.csv · Generated 2026-10-10 00:44 IST.