Register
Strategy guide

Automated Opening Bell Momentum Execution System

The opening range breakout, or ORB, is one of the oldest intraday strategies. It marks the high and low of the first few minutes of trading, then buys if the price breaks above the range or sells if it breaks below. The idea is that the first moves of the day often set its direction, and a clean break of the opening range can lead to a sustained move.

QuantPower Research · Updated 14 Nov 2026 · 17 min read

This guide explains where the ORB comes from, how it works on Nifty, Bank Nifty and liquid stocks, the exact rules, three worked examples with rupee figures, the main variations and filters, when it tends to work and when it fails, how to size it, and how to run it as an algo in QuantPower, where opening range breakout is one of the built-in entry modes. The rules here are examples to test and change, not a recommendation.

The opening range breakout at a glance

Opening range breakout
StyleIntraday momentum
InstrumentsIndex futures, index options, liquid stocks
Timeframe5-minute candles, with a 15- or 30-minute opening range
EntryA close above the range high, or below the range low
StopThe other side of the range, its midpoint, or a fixed distance
ExitA target, a trailing stop or a fixed time
Trades a dayUsually one, at most two
Main riskRange-bound days that break out both ways

A short history of the opening range breakout

Floor traders on the American futures exchanges watched the first minutes of the session long before anyone wrote the idea down: the early high and low told them where the day's buyers and sellers had first met. In 1990 the trader Toby Crabel set out the method in a book on short-term price patterns, testing breakouts of the opening range across futures markets and showing how a day's early range related to its later move.1

In 2002 Mark Fisher, a trader on the New York energy floor, published his ACD method, built entirely on the opening range: a breakout by a set amount beyond the range was a signal, and a failure back through it was a warning.2 Since then the ORB has become a standard intraday setup on charting platforms worldwide, and in India it is among the most widely traded rules on Nifty and Bank Nifty, both in futures and in options.

The Indian market added its own twist. Single-stock trading begins with a pre-open call auction from 9:00 am to 9:08 am, which sets the opening price, and continuous trading starts at 9:15 am. The first 15 minutes after 9:15 am absorb overnight news, global markets and the orders placed in the pre-open, which is why many Indian traders use 9:15 to 9:30 am as their opening range.

How the opening range works

The market opens at 9:15 am. In the first minutes, overnight news, global cues and pending orders meet, and prices move quickly. The opening range is the high and low of that early period, usually the first 15 or 30 minutes.

If the price breaks out of that range with conviction, it suggests one side has taken control. The ORB trades in the direction of the break and uses the opposite side of the range as a natural stop.

Two things make the opening range useful. It is defined by today's prices, so it reflects today's news, unlike levels taken from yesterday. And it is fixed once the window ends, so the stop and the size of each trade are known before entry.

The rules

  1. Mark the range. Record the high and low from 9:15 to 9:30 am.
  2. Wait for a close outside the range. A 5-minute candle must close above the high or below the low. A brief poke through the level is not enough.
  3. Enter at the next price. Buy after a close above the high; sell after a close below the low.
  4. Set the stop. Place it at the opposite side of the range, or at its midpoint for a tighter stop.
  5. Set the target. Use a multiple of the range width, such as 1.5 times, or a trailing stop.
  6. Limit the window. Only take breakouts before a set time, such as 11:00 am. Late breakouts often lack follow-through.
  7. Exit by a set time. Close any open position at 3:15 pm.
  8. One trade a day. If the first breakout fails, stop for the day.

A worked example on Nifty futures

Opening range breakout rules on Nifty futures: range 25,010–25,070, buy 25,080 after a close above the high, stop 25,010, target 25,160 (illustration)

This is a hypothetical example to show how the rules work, not a result.

  • From 9:15 to 9:30 am, Nifty futures trade between 25,010 and 25,070. The range is 60 points.
  • At 9:45 am, a 5-minute candle closes at 25,078, above the range high.
  • The next candle opens at 25,080. The algo buys one lot there. A Nifty lot is 65 units since the end-2025 revision.3
  • The stop is at the range low, 25,010, which is 70 points away. The risk is 70 × 65 = ₹4,550 per lot, before costs.
  • The target is 1.5 times the range, or 90 points above the range high: 25,160. That is 80 points from entry, or ₹5,200 per lot.

If the price reaches 25,160 first, the trade makes about ₹5,200 before costs. If it falls back to 25,010 first, it loses about ₹4,550. If neither happens, the position closes at 3:15 pm.

Costs come off either way. Since 1 April 2026 the STT on the sale of futures is 0.05% of the value,4 about ₹818 on one lot sold near 25,160. With brokerage at ₹20 an order, exchange charges, stamp duty and GST, a round trip costs roughly ₹950 to ₹1,000, close to a fifth of the target. Costs are the main reason ORB rules that look good on a chart fail in a ledger.

A worked example with Bank Nifty options

Also hypothetical. Bank Nifty options now have monthly expiries only, on the last Tuesday of the month, and a lot is 30 units.35

  • From 9:15 to 9:30 am, Bank Nifty trades between 57,050 and 57,260, a range of 210 points.
  • At 9:50 am a 5-minute candle closes at 57,275, above the range high.
  • The trader buys one lot of the 57,300 call of the current month, with 12 days to expiry, at ₹520. The premium for one lot is 520 × 30 = ₹15,600.
  • The stop is a fall of 30% in the premium, to ₹364, a loss of about ₹4,680. As a cross-check, the index stop would be the range low; whichever comes first ends the trade.
  • The target is a premium of ₹700, a gain of 180 × 30 = ₹5,400, which needs roughly a 350-point move in the index if the option's delta is near 0.5, less any time decay.
  • Since 1 April 2026 the STT on the sale of an option is 0.15% of the premium,4 about ₹32 on a sale at ₹700.

The option caps the loss at the premium paid, but a slow breakout can lose money even when the direction is right, because each hour of waiting costs time value. The option buying strategy guide covers this trade-off in detail.

A worked example on a liquid stock

Also hypothetical. A liquid ₹1,850 stock opens with a small gap up. Its 9:15 to 9:30 am range is ₹1,842 to ₹1,866.

  • At 9:55 am a 5-minute candle closes at ₹1,869 on volume well above its usual level for that time.
  • The trader risks ₹2,500 a trade. With the stop at the range midpoint, ₹1,854, the risk is ₹15 a share, so the size is 2,500 ÷ 15, about 166 shares, about ₹3.1 lakh of stock bought intraday.
  • The target is twice the risk, ₹1,899.
  • If the target fills, the gain is 166 × ₹30 = ₹4,980 before costs; if the stop fills, the loss is 166 × ₹15 = ₹2,490.
  • Intraday equity pays STT of 0.025% on the sell side only, about ₹79 here, plus brokerage and other charges.

Single stocks give more ORB setups each day than the indices, but each one carries company-specific news, and many have wide spreads in the first minutes.

Reading the opening range itself

The opening range carries information before any breakout happens.

  • Width against normal. Compare the range with the instrument's average daily range, or its ATR. A 60-point Nifty range on a day when the average daily range is 200 points is about 30% of a normal day, a typical size. A 150-point opening range uses most of a normal day's move before 9:30 am, which leaves less room for the breakout to run.
  • Narrow ranges. A very narrow opening range means a small stop, but also that ordinary noise can break it. Many traders set a minimum width, for example 15% of the average daily range.
  • Where the open sits. An open near the top of the range that stays there suggests early buying; an open that is immediately sold back down suggests the opposite.
  • Inside yesterday's range. An opening range that sits entirely inside yesterday's high and low is a sign of balance; a break of both the opening range and yesterday's extreme is a stronger signal than either alone.

The ORB and yesterday's levels

Traders often combine the opening range with levels from the previous day. Yesterday's high and low, the previous close and the central pivot range are all known before the open, and they mark places where other traders have orders. An upside breakout that also clears yesterday's high meets less overhead supply than one that runs straight into it. An ORB target set just below a known level, such as yesterday's high or the pivot's R1, is more likely to fill than one set just above it. These additions are easy to write into rules and easy to test.

A day in the life of an ORB algo

Here is how the Nifty futures example looks from the algo's side, in the order its activity log would record it:

  1. 9:15 am. The market opens. The algo starts reading the high and low.
  2. 9:30 am. The range is fixed at 25,010 to 25,070. No order yet.
  3. 9:35 and 9:40 am. Two 5-minute candles close inside the range. Nothing happens.
  4. 9:45 am. A candle closes at 25,078, above the high. The leg enters at the next price, 25,080, with its stop at 25,010 and its target at 25,160.
  5. Through the morning. The algo watches the stop and the target on each 5-minute close, as set.
  6. 1:20 pm. The price reaches 25,160. The leg exits with a market order that can only reduce the position.
  7. Rest of the day. The one-trade rule means no new entry. At 3:15 pm there is nothing left to close.

If the broker had rejected the entry, the log would say why, for example margin or a signed-out broker, and the algo would stop for the day rather than guess.

Judging an ORB strategy by its numbers

ORB strategies usually win less than half their trades and depend on winners being larger than losers. The quantity that matters is the average result per trade, in units of the risk taken (R):

  • Suppose a set of rules wins 45% of trades with an average win of 1.3R and loses 55% with an average loss of 1R.
  • The average per trade is 0.45 × 1.3 − 0.55 × 1 = 0.585 − 0.55 = +0.035R before costs.
  • If costs and slippage come to 0.2R a trade, which is common when the stop is only 60 to 70 points on Nifty futures, the average becomes −0.165R a trade.

Small changes in win rate, win size or costs flip the sign. That is why a backtest must include costs, and why ORB rules with wider ranges and fewer, larger trades often hold up better after costs than rules that trade every small break.

The ORB in commodities

The same rules work on MCX commodity futures, with two differences. Commodity trading starts at 9:00 am and runs late into the evening, so the "open" is earlier and the session far longer than in equities. And many commodities, such as crude oil, react most to events in the American session, so a second range around the US open in the evening is often more useful than the morning one. A crude oil futures contract is 100 barrels, so each ₹1 move is ₹100 a lot. The MCX algo trading guide covers the commodity session, contract sizes and how algos handle each contract's own hours.

Building the ORB with Quanty

You can describe the rule in words to Quanty, the assistant in the QuantPower app, for example: "buy one lot of Nifty futures when a 5-minute candle closes above the first 15 minutes' high, stop at the range low, target 1.5 times the range, exit at 3:15 pm". Quanty builds the algo for you to check, can backtest it, and flags anything risky, such as a missing stop. It saves the algo switched off; only you can switch it on, in Forward test or live. Quanty is software, not an adviser: it builds and tests your rule, it does not tell you whether to trade it.

Variations

Range length

A 15-minute range is narrower, gives earlier signals and more false breaks. A 30-minute range is wider, gives fewer but often cleaner signals, and needs a wider stop. Some traders use 5 minutes for the most liquid instruments, or 60 minutes on slow days.

Stop placement

A stop at the far side of the range gives the trade room but risks more. A stop at the midpoint risks less but is hit more often. Some traders use a fixed multiple of the average true range (ATR) instead, so the stop reflects how much the instrument usually moves rather than how wide today's range happens to be.

Breakout buffer

Mark Fisher's method waited for a move a set distance beyond the range, not just a close outside it.2 A buffer of, say, 10% of the range width filters out breakouts that barely clear the level, at the cost of a later entry.

Filters

  • Gap filter: skip days when the market opens with a very large gap, which can exhaust the move early.
  • Range filter: skip days when the opening range is unusually wide, because the stop would be too large, or unusually narrow, because noise alone can break it.
  • VWAP filter: take long breakouts only above VWAP and short breakouts only below it.
  • Volume filter: require higher volume on the breakout candle than its usual level for that time of day.
  • Day-type filter: some traders take ORB trades only on days with a narrow central pivot range, read as days more likely to trend.

Options instead of futures

Instead of futures, the algo can buy an at-the-money call on an upside break or a put on a downside break. The loss is limited to the premium, but time decay and changes in implied volatility affect the result, and a slow breakout can lose money even if the direction is right.

When the ORB works, and when it fails

Works best when:

  • News or global cues create a clear direction early in the day.
  • The breakout comes with strong participation.
  • The market trends for the rest of the session.

Struggles when:

  • The market spends the day in a range and breaks out in both directions.
  • A large gap at the open has already done most of the day's move.
  • Breakouts come late in the morning and fade into the afternoon.

Range-bound days are the main enemy. On those days the ORB tends to buy near the top and sell near the bottom, then get stopped out. A rule of one trade a day caps the damage on such days.

Expiry days

Nifty weekly options expire on Tuesdays since 1 September 2025.5 On expiry days option prices behave differently: premiums decay fast and gamma is high, so an ORB trade in options can swing sharply in both directions. Many traders either skip option ORB trades on expiry day or switch to futures that day.

Position sizing

Because the stop is set by the range, the risk per lot changes every day. Size each trade by the loss you can accept. If your limit is ₹5,000 and the stop is 70 points away on a lot of 65, the risk is ₹4,550, so one lot fits. If the range is 120 points wide, the risk per lot is about ₹7,800, and the rule says skip or reduce size. The position size calculator does this sum for you.

For stocks, where you can buy any number of shares, divide the rupee risk you accept by the distance to the stop, as in the stock example above.

Running the ORB as an algo in QuantPower

The ORB is easy to describe but hard to trade by hand: you must mark the range precisely, watch for a candle close, enter immediately and manage the stop all day. In QuantPower, opening range breakout is one of the three entry modes of an algo, alongside "at the time" and "wait and trade".

How the ORB entry works:

  • The range. The algo reads the high and low for the first N minutes, from 1 to 180, starting at the market open or at a time you set.
  • What it watches. The range can be read on the underlying, such as the Nifty index, or on the instrument the leg trades.
  • The entry. A leg enters on the first price above the high or below the low, as you choose for that leg. Set the monitoring to once per 5-minute candle close if you want the rule "a close outside the range" rather than the first touch.
  • Exits on an ORB leg. Targets and stops can be set in points or per cent, on the underlying, or in points or per cent beyond the range.
  • Time and days. An entry window, an exit time in IST and the weekdays to run.
  • Account limits. Your daily loss limit refuses new orders once reached, and Smart Exit squares off and stops the algos if the account's target or stop is hit.

A setup for the Nifty example: one leg, Nifty futures, buy; ORB entry with a 15-minute range from 9:15 am read on the futures; monitoring on 5-minute closes; stop at the range low; target 1.5 times the range beyond the high; exit at 3:15 pm. A second algo with a sell leg covers downside breakouts.

Filters such as a gap limit or a VWAP condition can be written as a signal of up to 20 conditions on the chart's indicators. A signal can start or stop an algo, so the ORB algo runs only on days when your filters pass. The scanner's opening range breakout preset lists stocks breaking their opening range across a universe you choose.

What it costs: a live algo is 200 tokens per 28 days, with orders unlimited, and a Forward test algo 100 (1 token = ₹1, GST extra). Test the rules in backtesting and in Forward test with test money before you switch them on live.

Start with 500 free tokens

Connect your broker, build a strategy and test it on paper before a single live order goes out.

Backtesting the ORB

  • Use intraday data fine enough to know whether the stop or the target was hit first.
  • Fill at the next price after the signal candle closes, not at the breakout level.
  • Test neighbouring settings: 15 and 30-minute ranges, stops at the far side and the midpoint, targets of 1 to 2 times the range.
  • Count every cost, since the strategy trades most days.
  • Check by year and by market type. The ORB's results often depend on how much the market trended in a given period.
  • Respect the rule changes. Lot sizes, expiry days and STT changed between 2024 and 2026; compare results before and after in points, not only in rupees.

Our guide on how to backtest trading strategies covers each of these.

A checklist before switching on an ORB algo

  1. The range window, the candle size for the close, and whether the range is read on the index or the traded instrument are all written down.
  2. The stop, the target and the exit time are set on the leg, and the entry window ends at a fixed time.
  3. The rule for wide and narrow ranges, gap days and expiry days is decided.
  4. A backtest over at least a year, with costs and slippage, shows a positive average per trade.
  5. The algo has run in Forward test on live prices for a few weeks, and its log matches the rules.
  6. The broker is signed in for the day, and the daily loss limit is set.
  7. The first live run uses one lot.

Common ORB mistakes

  • Entering on a touch instead of a close outside the range.
  • Taking every breakout, including late ones with little time left.
  • Using the same size regardless of how wide the range is.
  • Re-entering after a failed breakout and doubling the day's loss.
  • Ignoring gaps, which change how the opening range behaves.
  • Forgetting costs on a strategy that trades almost every day.
  • Changing the rules after a loss. One bad week is not evidence; a test over hundreds of days is.

Where ORB trading is going

The ORB has survived for decades because it is simple and adapts to any market. What has changed is how it is run. Traders now test many variations quickly and run the survivors as algos that mark the range, wait for the close and manage the exit without hesitation. The larger lots and higher STT of 2024 to 2026 have made each trade costlier, which favours ORB rules with fewer, cleaner trades over rules that trade every small break. Since 1 April 2026, automated ORB rules run through a broker, from a registered static IP, under the exchange's rules.6

Frequently asked questions

What opening range length suits Nifty?

Traders commonly use 15 or 30 minutes. Test both on your instrument; the right choice depends on your stop rules and filters.

Does the ORB work on Bank Nifty?

It can be traded there. Bank Nifty's larger moves suit breakout rules, but its ranges and stops are also larger, so size accordingly, and remember that its options expire monthly.

Should I trade the ORB with futures or options?

Futures give a direct exposure with a stop loss. Options limit the loss to the premium but add time decay and volatility effects. Test both.

How many trades does the ORB take?

Usually at most one a day, which means around 240 trading days a year at most, and fewer after filters.

Can QuantPower read the opening range on the index but trade options?

Yes. An algo's ORB entry can read the range on the underlying, such as the Nifty index, while its legs trade options or futures.

What should I do when the first breakout fails?

Most ORB rules stop for the day. A second trade in the other direction is a separate rule that needs its own test.

References

  1. Toby Crabel, *Day Trading with Short Term Price Patterns and Opening Range Breakout* (Traders Press, 1990)
  2. Mark B. Fisher, *The Logical Trader: Applying a Method to the Madness* (Wiley, 2002), on the ACD method
  3. NSE, revision of market lot sizes of index derivatives, effective from the contracts after December 2025 (nseindia.com)
  4. Union Budget 2026-27: STT on the sale of futures raised from 0.02% to 0.05%, and on the sale of options from 0.10% to 0.15% of the premium, from 1 April 2026 (incometaxindia.gov.in)
  5. NSE, circular on the revision of expiry days of derivatives contracts, effective 1 September 2025, and NSE equity derivatives contract specifications (nseindia.com)
  6. SEBI, circular on safer participation of retail investors in algorithmic trading, 4 February 2025, in force for every broker from 1 April 2026 (sebi.gov.in)
The examples on this page are hypothetical and for illustration. Intraday trading in futures and options involves substantial risk, and stop losses cannot guarantee the exit price. This guide is for education and is not investment advice.