QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Calendar & seasonalityPositionalRELIANCEhigh complexity

Overnight gap tilt

Research on stock returns often finds that overnight moves and daytime moves behave differently, with some of the overnight gap reversing during the session. This single-stock version applies that to one F&O stock. Each morning it compares the stock's overnight gap with NIFTY's; if the stock opened at least 0.5% weaker than the market, it buys the stock future at 09:16 and sells it at 15:20.
Buys a stock's future at 09:16 when it has gapped down at least 0.5% more than NIFTY overnight, and sells at 15:20 the same day, betting on a rebound.
Market viewFades moves (mean reversion)
TradesSingle-stock near-month futures, 1 lot
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month0.5
Typical hold6.1 hours
Profitable months2 of 12
Longest losing run3 trades
Made money inToo few trades to judge (6 in the year)
Lost money inToo few trades to judge (6 in the year)
Default settings
Symbol
Benchmark
Sign
Threshold %
Entry time
Exit time
Lots
Backtest this strategy →Change any setting, pick your own period and run it in the Quantsapp web app. Backtesting is part of the Max plan. Pro+ members can use it now as a free trial.
1

How it trades

What it trades
Universe
RELIANCE Positional · 1 Oct 25 → 30 Sep 26
Enters
09:16 when the stock gapped at least 0.5% more down than NIFTY
Legs
BUY FUT · Near month · Current month · 1 lot
Exits
time 15:20 the same day
Re-entry
None - one trade a day
Signal
overnight return of SYMBOL's near-month future = today's open / yesterday's close - 1, minus the same return of BENCHMARK's future (the market's gap); BENCHMARK "" uses the raw gap.
Entry
at ENTRY_TIME, SIGN "reversal" buys LOTS when the demeaned gap is at or below -THRESHOLD_PCT % (a stock that gapped down more than the market); "momentum" buys when it is at or above +THRESHOLD_PCT %. Long only. Not on a day the stock is in the F&O ban.
Exit
at EXIT_TIME. No stop, no target. One trade a day at most.
2

Results

PRE-BUILT · DEFAULTS
RELIANCE · 2025-10-01 → 2026-09-30 · 6 trades · before costs
Net P&L+₹8,950
Win rate33%
Max drawdown−₹10,300
Avg per trade+₹1,492
Profit factor1.54
Worst trade−₹6,350
3

Where it made and lost money

With six trades on RELIANCE, no condition has enough trades to judge. The two trades on quiet sessions both won, together ₹25,600, while three on choppy days lost ₹10,300 and the single trend-day trade lost ₹6,350. That fits the idea loosely: a stock that gapped down more than the market recovers best when the rest of the day is calm, and keeps sliding when the session swings widely. The four trades taken on NIFTY weekly expiry days all lost. With no stop, each result is simply the stock's move from 09:16 to 15:20. Figures are before costs.

India VIX the evening before
VIX below 11.5 (calm)+₹4,6501 trades100% won
VIX 11.5-14.5 (normal)−₹12,1003 trades0% won
VIX above 14.5 (nervous)+₹16,4002 trades50% won
Kind of session on the entry day
Quiet session (range under 0.75%)+₹25,6002 trades100% won
Trend day (closed near the high or low)−₹6,3501 trades0% won
Choppy day (wide range, closed mid-range)−₹10,3003 trades0% won
How the entry day opened
Gap up of 0.4% or more+₹19,2502 trades50% won
Flat open−₹1,7002 trades50% won
Gap down of 0.4% or more−₹8,6002 trades0% won
Session direction on the entry day
NIFTY closed above its open+₹16,4002 trades50% won
NIFTY closed below its open−₹7,4504 trades25% won
Trend going in
Uptrend (NIFTY above its 20-day average)+₹16,4002 trades50% won
Downtrend (NIFTY below its 20-day average)−₹7,4504 trades25% won
Expiry day (NIFTY weekly)
Expiry day−₹16,6504 trades0% won
Other days+₹25,6002 trades100% won
Day of the week
Monday+₹12,3503 trades33% won
Tuesday−₹8,0502 trades0% won
Wednesday+₹4,6501 trades100% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Each morning, compute the stock future's overnight return: today's open versus yesterday's close.
  2. Subtract NIFTY futures' overnight return to get the stock's gap relative to the market.
  3. If the relative gap is -0.5% or worse, buy one lot of the stock's near-month future at 09:16.
  4. Skip the day if the stock is in the F&O ban, or if it is the session right after a monthly futures expiry.
  5. Sell at 15:20 with no stop or target. At most one trade a day, long only.

Why traders use it

A stock that opens far weaker than the market may be reacting to overnight selling pressure that eases once regular trading begins, so some of the gap is often recovered. Measuring the gap relative to NIFTY separates stock-specific weakness from a broad market move. The rule is simple, entirely mechanical and holds only during market hours, avoiding overnight risk. A momentum setting tests the opposite idea: buying stocks that gapped up more than the market.

Works best whenIn principle, a stock gaps down on stock-specific selling and the rest of the session is calm, letting it recover. The two winning trades in this test came on quiet sessions, but six trades are too few to confirm a pattern.
Struggles whenThe gap reflects genuine bad news and the stock keeps falling, or the session is volatile and swings lower. Six trades are too few to say which conditions hurt most.

The year in plain words

On RELIANCE futures from 1 Oct 2025 to 30 Sep 2026, with default settings, the relative gap passed -0.5% on only six days. Two trades won and four lost, for ₹8,950 before costs and ₹7,060 after ₹20 per order and bid-ask slippage. One April trade made ₹20,950, more than the year's total, and April overall made ₹16,400; September lost ₹6,350. Six trades in a year cannot show whether the reversal effect holds for this stock. The original idea ranks every F&O stock daily, which a single-stock test cannot reproduce.

What the settings do

BenchmarkThe index whose overnight gap is subtracted. Leaving it blank uses the stock's raw gap.SignReversal buys stocks that gapped down more than the market; momentum buys those that gapped up more.Threshold %How large the relative gap must be to trade. A lower threshold trades more often on smaller gaps.Entry timeWhen the future is bought, after the opening minute that includes the pre-open auction.Exit timeWhen the position is sold, before the 15:40 close.

Risks

  • There is no stop loss on a full stock futures lot for the whole session.
  • A stock that gaps down on real news may keep falling rather than rebound.
  • One stock gives only a handful of signals a year, so results depend heavily on single trades.
  • The original cross-sectional idea, ranking all stocks, is not captured by trading one stock.

Who it suits

Traders interested in overnight-gap effects in Indian stocks who want a simple intraday rule to test across different F&O stocks, and who have futures margin for a full lot without a stop.

5

Questions traders ask

Do stock gaps get filled in India?

Often partly, but not reliably. Studies find that some overnight moves reverse during the day, especially for stock-specific gaps. This test on RELIANCE had only six signals in a year, too few to say how often its gaps filled.

Is the overnight gap reversal strategy profitable?

On RELIANCE futures from 1 Oct 2025 to 30 Sep 2026 it made ₹8,950 before costs and ₹7,060 after ₹20 per order and bid-ask slippage, over six trades. One trade made more than the total. Past results do not guarantee future ones.

Why compare the stock's gap with NIFTY?

If the whole market gaps down, a stock falling with it says little. Subtracting NIFTY's gap isolates how much weaker the stock opened than the market, which is the signal this rule trades.

Can I run it on other stocks?

Yes. The symbol can be set to any F&O stock. Running it on many stocks gives a rough picture of the cross-sectional effect, though not the original daily ranking.

6

Before you rely on it

WATCH OUTthe holdout lock only logs reads; cash-equity results (5.8% vs 8.1% net excess not reconciled); lot sizes coarsen the weights. Gross of costs.
WHERE THE RULES WERE UNCLEAR · OUR CHOICES- The README does not say whether the tilt overweights high or low overnight-return names: SIGN tests both; "reversal" is the spec's default hypothesis. - ENTRY_TIME 09:16 skips the 09:15 bar, which carries the pre-open auction (source). - The session after a monthly futures expiry is skipped: yesterday's close is the expired contract's, which the rolled series does not adjust (gap R2-A3), so the "gap" would be the roll basis. - Default SYMBOL RELIANCE; with SYMBOL = BENCHMARK the demeaned gap is always zero.
Also known asnq tiltovernight gap ranking
Backtests run on historical NSE data with fills at the last traded price. "Before costs" excludes brokerage, taxes and slippage. Quantsapp is not recommending any strategy; it is just a backtesting utility. Past results are not a promise of future returns.

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

By continuing you agree to the Terms of Use and Privacy Policy.