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

Two-hour range breakout

A slower version of the opening range breakout. Instead of the first 5 or 15 minutes, it lets NIFTY futures trade for two full hours and uses the 09:15 to 11:15 high and low as the range. A 5-minute close beyond either side triggers a trade, the opposite side of the range is the stop, and the target equals the range's width.
Trades a 5-minute close beyond NIFTY futures' 09:15-11:15 range, with the opposite side of the range as stop and a target one range width away.
Market viewEither direction (follows the move)
TradesNIFTY near-month futures, 1 lot
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsBeginner
Trades a month19.8
Typical hold2.3 hours
Profitable months4 of 12
Longest losing run8 trades
Made money inTrend days that close near the high or lowMarkets below their 20-day average
Lost money inQuiet sessions under 0.75% rangeChoppy wide-range daysMarkets above their 20-day average
Default settings
Symbol
Range end
Bar minutes
Target mode
Target width mult
Target points
Last entry
Square off
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 after a 5-minute close beyond the 09:15-11:15 range; signal bars until 14:45
Legs
BUY FUT · Near month (close above the range high) · Near-month future · 1 lotSELL FUT · Near month (close below the range low) · Near-month future · 1 lot
Exits
stop The opposite side of the two-hour rangetarget One range width from the filltime Square off at 15:15
Re-entry
One trade per side per day; a short can follow a closed long and vice versa
Range
high and low of the near-month future from 09:15 to RANGE_END.
Entry
after RANGE_END, a BAR_MINUTES bar closing above the range high -> buy LOTS; closing below the range low -> sell. Filled at the first tick after that bar; signal bars up to LAST_ENTRY. At most one long and one short a day, one trade at a time.
Stop
long - the range low; short - the range high (price levels, first tick through).
Target
TARGET_MODE "width" - TARGET_WIDTH_MULT x the range width from the fill; "points" - TARGET_POINTS.
Exit
stop, target or SQUARE_OFF.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 238 trades · before costs
Net P&L−₹16,205
Win rate51%
Max drawdown−₹1,30,091
Avg per trade−₹68
Profit factor0.97
Worst trade−₹16,497
3

Where it made and lost money

In this test, trend days that closed near the high or low made ₹2,55,394 over 72 trades with an 81% win rate, while quiet sessions lost ₹1,58,030 over 94 and choppy days ₹1,08,824 over 69. A late-morning break only pays when the afternoon keeps going; on other days the price drifts back into the two-hour range and the trade ends at 15:15 with a loss, or reaches the far-side stop. Direction going in also mattered: with NIFTY below its 20-day average the strategy made ₹89,892 over 123 trades, while above it lost ₹1,01,353 over 112.

Kind of session on the entry day
Quiet session (range under 0.75%)−₹1,58,03094 trades34% won
Trend day (closed near the high or low)+₹2,55,39472 trades81% won
Choppy day (wide range, closed mid-range)−₹1,08,82469 trades42% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹1,01,353112 trades45% won
Downtrend (NIFTY below its 20-day average)+₹89,892123 trades56% won
Day of the week
Monday+₹35,95048 trades58% won
Tuesday+₹16,79540 trades52% won
Wednesday−₹96,24950 trades32% won
Thursday+₹25,26447 trades53% won
Friday−₹5,36249 trades57% won
How the entry day opened
Gap up of 0.4% or more−₹50,85138 trades45% won
Flat open−₹29,386157 trades50% won
Gap down of 0.4% or more+₹68,77740 trades58% won
Expiry day (NIFTY weekly)
Expiry day+₹34,05944 trades55% won
Other days−₹45,519191 trades50% won
India VIX the evening before
VIX below 11.5 (calm)−₹4,07862 trades48% won
VIX 11.5-14.5 (normal)−₹36,678103 trades50% won
VIX above 14.5 (nervous)+₹29,29570 trades54% won
Session direction on the entry day
NIFTY closed above its open+₹79116 trades51% won
NIFTY closed below its open−₹11,539119 trades50% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Record the high and low of the near-month NIFTY future from 09:15 to 11:15.
  2. From 11:15, watch 5-minute bars; a bar closing above the range high signals a buy, one closing below the range low a sell.
  3. Enter one lot at the first tick after the signal bar; signal bars count up to 14:45.
  4. Set the stop at the other side of the range: the range low for a long, the range high for a short.
  5. Set the target one range width away from the fill price.
  6. Allow at most one long and one short per day, never both at once, and square off at 15:15.

Why traders use it

By late morning the opening rush, gap reactions and early stop runs are usually over, and the two-hour range reflects where the market has actually found buyers and sellers. A break of that larger range is harder to fake than a break of a 5-minute candle, and the afternoon session has room for a trend to develop. The trade-off is a wide stop, since the whole range sits between entry and exit.

Works best whenIn this test, trend days that closed near their high or low, and periods when NIFTY was below its 20-day average; evenings with India VIX above 14.5 were also the best VIX group.
Struggles whenQuiet sessions and choppy wide-range days, where the afternoon breakout drifts back into the two-hour range, and periods when NIFTY was above its 20-day average, the worst trend group.

The year in plain words

With default settings on NIFTY futures from 1 Oct 2025 to 30 Sep 2026, the strategy took 238 trades, won 51% of them, and lost ₹16,205 before costs (profit factor 0.97). Most trades, 176, ran to the 15:15 square-off, with only 31 hitting the target and 31 the stop; the wide range rarely left time for either. March was the standout at ₹62,444, but June to September lost every month. Costs mattered a great deal: after ₹20 per order and bid-ask slippage the loss was ₹75,159, and the drawdown before costs reached ₹1,30,090.

What the settings do

Range endWhen the opening range closes. Earlier ends give narrower ranges with tighter stops and more signals; later ends give fewer, wider setups.Bar minutesThe bar length whose close must break the range. Longer bars filter brief pokes beyond the level but enter later.Target modeWhether the target is a multiple of the range width or a fixed number of points.Target width multThe target as a multiple of the range width, used in width mode. Below 1 books sooner; above 1 asks for a bigger move that is reached less often.Target pointsA fixed target in points, used only in points mode. It suits one index level and does not scale as the index moves.Last entryThe latest signal bar that can open a trade. Later signals have little time left before square-off.Square offWhen any open trade is closed. Most trades in the default run ended here.

Risks

  • The stop sits at the far side of a two-hour range, so a single loss can be large; the worst was ₹16,497.
  • Most trades end at the time exit, so results depend on where the market happens to be at 15:15.
  • A reversal after a long breakout can be followed by a short on the same day, giving two losses.
  • Futures need margin and carry full exposure to fast moves.

Who it suits

Intraday futures traders who prefer to stay out of the opening and trade a single afternoon setup, with the margin and patience for wide stops and a result that swings sharply from month to month.

5

Questions traders ask

What is a two-hour opening range breakout?

It uses the high and low of the first two hours, 09:15 to 11:15, as the day's reference range. A close above the high is a buy signal and a close below the low a sell signal, with the opposite side of the range as the stop.

Is the two-hour ORB profitable on NIFTY?

Not in this backtest. From 1 Oct 2025 to 30 Sep 2026 on default settings it lost ₹16,205 before costs and ₹75,159 after ₹20 per order and bid-ask slippage, with statutory charges extra. One strong March did not offset losses in other months. Past results do not guarantee future ones.

Why is the stop at the other side of the range?

If the price breaks one side and then travels all the way to the other, the breakout has clearly failed. Using the opposite side gives the trade room through normal pullbacks, but it makes each loss as large as the whole range.

Can it trade BANKNIFTY futures?

Yes. Change the symbol to BANKNIFTY, whose futures still list monthly. A points-based target set for one index will not suit another, so the width-based target is the more portable choice.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULESSymbol: the source trades BANKNIFTY futures. They still list monthly, but the library default is NIFTY (the index with weekly options and the one the local data has); set SYMBOL "BANKNIFTY" with TARGET_MODE "points" and TARGET_POINTS 150 for the source's version. A fixed point target does not carry across symbols or index levels, so the NIFTY default is 1x the range width (spec interpretation). The source exits at the last bar of the day and has no daily cap; here SQUARE_OFF 15:15 and one trade per side per day (spec interpretation). The source sizes 2 x 50 units; here LOTS.
WHERE THE RULES WERE UNCLEAR · OUR CHOICESthe source records fills at the signal bar's close (a commenter saw them at the bar high); here the fill is the next tick. The 20-200 point target was optimised in-sample by the source. Gross of costs.
Also known as2 hour ORBORB 11:15
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.