QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Futures · technicalIntradayNIFTYlow complexity

NR7 inside day breakout

NR7 stands for narrow range 7: a session whose high-to-low range is the smallest of the last seven. When that session is also an inside day, sitting entirely within the previous day's range, the market has gone unusually quiet. This strategy trades the next session's break out of that tight range in NIFTY futures, on the idea that a volatility squeeze tends to be followed by a larger move.
After NIFTY futures print the narrowest-range inside day of seven, trades the next session's break of that day's high or low with the stop at the other side.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month0.4
Typical hold3.8 hours
Profitable months1 of 12
Longest losing run4 trades
Made money inToo few trades to judge (5 trades)
Lost money inBreakouts that reverse through the whole range
Default settings
Symbol
Require inside
Hold
Last entry
Exit time
Roll 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
NIFTY Intraday · 1 Oct 25 → 30 Sep 26
Enters
First tick beyond the NR7 inside day's high (buy) or low (sell), up to 15:00
Legs
BUY FUT · near month · Near month · 1 lotSELL FUT · near month · Near month · 1 lot
Exits
stop Other side of the setup day's rangetime 15:15 the same session
Re-entry
None - one trade per setup
Setup
a completed session whose range (high - low) is the narrowest of the last NR_LOOKBACK sessions (itself included) AND, with REQUIRE_INSIDE on, an inside day (high below and low above the session before). Daily bars of the rolled near-month future.
Entry
on the next session, the first futures tick above the setup high buys LOTS; the first tick below the setup low sells LOTS (resting stop orders), whichever comes first, up to LAST_ENTRY. Skip the long side if the session OPENS above the setup high, the short side if it opens below the setup low.
Stop
long - the setup low; short - the setup high.
Exit
HOLD "intraday" squares off at EXIT_TIME the same session; "next_day" at EXIT_TIME the next session; "5_days" at EXIT_TIME of the fifth session counting the entry day. A position held over a futures expiry is closed at ROLL_TIME that day ("monthly roll") and re-opened on the new near month at the next session's first tick, keeping the same stop.
Re-entry
none - one trade per setup.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 5 trades · before costs
Net P&L−₹40,593
Win rate20%
Max drawdown−₹43,680
Avg per trade−₹8,119
Profit factor0.07
Worst trade−₹13,637
3

Where it made and lost money

Five trades are far too few to judge any market condition. The two trades taken after a normal VIX reading lost ₹24,512 and the two after a nervous reading (above 14.5) lost ₹19,168; the only winner, ₹3,088, came after a calm VIX evening. Two choppy days lost ₹19,168 between them. What the trades share is the mechanism in the code: the stop is the far side of the setup day's range, so when a breakout fails and price crosses back through the whole range, each loss is a full day's range on a futures lot.

India VIX the evening before
VIX below 11.5 (calm)+₹3,0881 trades100% won
VIX 11.5-14.5 (normal)−₹24,5122 trades0% won
VIX above 14.5 (nervous)−₹19,1682 trades0% won
Kind of session on the entry day
Quiet session (range under 0.75%)−₹7,7882 trades50% won
Trend day (closed near the high or low)−₹13,6371 trades0% won
Choppy day (wide range, closed mid-range)−₹19,1682 trades0% won
How the entry day opened
Flat open−₹29,5304 trades25% won
Gap down of 0.4% or more−₹11,0631 trades0% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹21,9382 trades0% won
Downtrend (NIFTY below its 20-day average)−₹18,6553 trades33% won
Expiry day (NIFTY weekly)
Expiry day−₹11,0631 trades0% won
Other days−₹29,5304 trades25% won
Day of the week
Monday−₹7,7882 trades50% won
Tuesday−₹11,0631 trades0% won
Wednesday−₹8,1051 trades0% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. After each session, check the near-month NIFTY future's daily bar: is its range the narrowest of the last seven, and is its high below and low above the previous session's?
  2. Skip setups on or just after a futures expiry day, where the daily bars compare two different contracts.
  3. Next session, buy one lot on the first tick above the setup high, or sell one lot on the first tick below the setup low, whichever comes first, up to 15:00.
  4. If the session opens already beyond one side, that side is not traded.
  5. Place the stop at the opposite end of the setup range: the setup low for a long, the setup high for a short.
  6. By default, square off at 15:15 the same day; one trade per setup.

Why traders use it

Markets alternate between quiet and active phases, and a narrow-range inside day is one of the clearest signs of a quiet one. Traders expect the coiled range to release, and the setup gives a precise trigger on both sides and a stop that is already defined by the setup itself. Because the range is narrow, the stop is close, which makes the risk per trade look small. The pattern is decades old and is a staple in pattern-based trading books.

Works best whenA quiet inside day is followed by a decisive trend session, so the breakout carries well beyond the setup range and holds there into the afternoon.
Struggles whenBreakouts that poke above the setup high and then reverse through the whole range to the stop, which happened on three of the five trades in this period.

The year in plain words

The NR7 inside-day setup is rare. On NIFTY from 1 Oct 2025 to 30 Sep 2026 it produced only 5 trades, and 4 of them lost. Three were stopped at the setup low after a long breakout failed, and two were squared off at 15:15; the only winner, in August, made ₹3,088. Net P&L was a ₹40,593 loss before costs and ₹42,542 after ₹20 per order and slippage. Each stopped trade lost around ₹11,000 to ₹13,600, as a full day's range is a wide stop for a futures lot.

What the settings do

Require insideWhen on, the narrow-range day must also be an inside day. Turning it off takes every NR7 day as a setup, which trades more often but with a looser pattern.HoldIntraday squares off the same session; next_day holds to the following session; 5_days holds to the fifth session. Longer holds aim to ride a bigger breakout but carry overnight risk.Last entryThe latest time a breakout can trigger an entry. Late breaks leave little of the session for the move to develop.Exit timeThe square-off time on the last session held.Roll timeIf a multi-day hold crosses a futures expiry, the position is closed at this time and reopened in the next month with the same stop.

Risks

  • The setup appears only a few times a year, so results rest on very few trades.
  • The stop sits a full setup-day range away, which for a NIFTY futures lot can mean a five-figure loss on one trade.
  • False breaks are common, and both sides of the range can be tested in the same session.
  • With the multi-day hold options, the position is exposed to overnight gaps.

Who it suits

Traders who like pattern-based breakout trades with a defined stop and can accept long gaps between signals. A NIFTY futures lot needs full intraday margin and tolerance for large single-trade losses.

5

Questions traders ask

What is an NR7 day?

It is a session whose range, high minus low, is the smallest of the last seven sessions including itself. It marks a contraction in volatility. NR4 is the same idea over four sessions.

What is an NR7 inside bar?

It is an NR7 day that is also an inside day: its high is below the previous session's high and its low is above the previous session's low. The combination points to an especially tight range, which breakout traders watch for a move in either direction.

Is the NR7 inside bar breakout profitable on NIFTY?

In this backtest from 1 Oct 2025 to 30 Sep 2026 it traded 5 times and lost ₹40,593 before costs and ₹42,542 after ₹20 per order and bid-ask slippage. Five trades are too few to judge the setup, and past results do not guarantee future ones.

Where is the stop loss placed in the NR7 strategy?

At the other side of the setup day's range: below the setup low for a long, above the setup high for a short. If the breakout fails and price crosses the whole range, the trade is closed.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULESA setup whose session, or the session before it, was a futures expiry day is skipped: the rolled daily bars there compare two different contracts.
WATCH OUTthe source sums raw points across stocks of very different prices, works off a precomputed stock list (selection bias), and an independent test found ~5 bps gross per trade - gone after costs. Gross of costs here.
Also known asNR7NR4NR7 inside barnarrow range inside bar
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.