R0950: 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 price vs prior-day high > -0.33% (≈-84 pts at 25,000) AND price vs prior-day low ≤ +0.83% (≈+207 pts at 25,000) at 14:30

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

43%train hit (n=37) vs base 7% · lift 6.11
19%OOS hit (n=21) vs base 3% · lift 5.62
[8%–40%]OOS Wilson 95% CI
0.016OOS BH q (all) · family BH q 0.010 · Holm 1.000
0.032OOS matched-random placebo p

Verdict criteria

Train p 2.4e-09; train BH q 5.2e-07; train Holm 0.022 (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
2022862%7%8.54
20231421%6%3.93
20241553%8%6.40
2025 (OOS)1118%3%5.82
2026 (OOS)1020%4%5.40

Spot-points backtest (estimated costs)

enter long at 14: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)3757%+2.1+8.2+75.9+236.7+1.1
OOS 2025–262129%-14.7-3.4-309.1+309.1+0.2

equity curve

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