R0266: 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 prior-day range ≤ 0.78% (≈196 pts at 25,000) AND opening gap vs prior close is negative AND price has not touched the prior-day low yet at 09:30

Target: price reaches the prior-day high after 09:30 (days not yet at PDH)  ·  Decision time: 09:30 IST (uses bars up to 09:30 only)  ·  Method: subgroup  ·  Family: level / structure

70%train hit (n=33) vs base 26% · lift 2.70
57%OOS hit (n=28) vs base 23% · lift 2.43
[39%–73%]OOS Wilson 95% CI
7.5e-04OOS BH q (all) · family BH q 4.5e-04 · Holm 0.107
1.0e-03OOS matched-random placebo p

Verdict criteria

Train p 3.2e-07; train BH q 3.3e-05; train Holm 1.000 (corrections over all 9,242,869 hypotheses); whole-pipeline shuffled-label placebo family-wise p 0.139 (100 permutations). Extra conditions beat the best single condition OOS: True.

By year

yearrule dayshitbase (all days)lift
2022450%22%2.28
20231560%25%2.38
20241486%30%2.86
2025 (OOS)2352%27%1.96
2026 (OOS)580%19%4.13

Spot-points backtest (estimated costs)

enter long at 09:30 price, take profit at PDH; 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)3361%+4.2+10.5+137.9+175.4+1.2
OOS 2025–262857%-11.1-1.8-310.0+587.8+0.7

equity curve

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