Request A Free Quote
MetaTrader 5 New Release

MT5 Advanced Opening Range Breakout Indicator

MT5 Advanced Opening Range Breakout Indicator builds the opening range from your session times as a full, body or ATR-based range, marks Long and Short breakouts in the trade entry window and draws TP and SL levels from the trigger price. Alerts and Expert Advisor buffers included.

Advanced ORB Indicator for MetaTrader 5 Advanced ORB Indicator for MT5 | Opening Range Breakout with TP and SL Zones Advanced ORB Indicator for MT5 | Short Breakout with 50% TP and Full TP
5-Day Free Trial Cancel Anytime Continuous Product Updates Mon-Fri Free Support

For subscribers and customers

Member AccessDownload your product
Lifetime License
€175one-time
This indicator only · 1 PC · No recurring payments · Free updates included
Start Free Trial — 5 Days Free
Try all indicators & trade copiers free. If you don’t cancel within 5 days, a €25/mo subscription starts automatically.
Overview

Opening Range Breakout Explained

The opening range is the high and low that price sets in the first minutes of a session. An opening range breakout is a move beyond that range. This indicator builds the range from the times you set, looks for breakouts in a trade entry window after it, and draws take-profit and stop-loss levels from each breakout.

The MT5 Advanced Opening Range Breakout Indicator builds the opening range from the bars between two times you set, 09:30 and 10:00 by default. The range can span the full highs and lows of those bars, only their candle bodies, or an ATR-based distance around the opening price. Once the range is complete, OR High, OR Low, OR Open and OR Mid lines and a trade entry zone run to the end of the trade entry window.

Within that window, a green arrow marks a Long breakout above OR High and a red arrow a Short breakout below OR Low. A breakout is confirmed by the bar’s high or low or by its close, with an optional minimum distance beyond the level. Three signal modes show only the first breakout of the session, one breakout per direction, or every breakout.

After each signal, TP and SL zones are drawn from the trigger price, and dots can mark the bars where price reaches them. Breakouts and TP and SL hits can send pop-up, sound and email alerts, the previous day’s range can be shown alongside the current one, and every level and signal is written to buffers that an Expert Advisor can read.

Capabilities

Advanced Opening Range Breakout Indicator — Key Features

Opening Range and Trade Entry Window

Two time windows set in the chart’s server time.

The opening range is built from the bars between Opening Range Start Time and Opening Range End Time, 09:30 and 10:00 by default. Breakouts are looked for only in the trade entry window that follows, 10:00 to 16:00 by default. All times are the chart’s server time, the time shown on your broker’s MetaTrader 5 charts, and a session that crosses midnight is supported.

A session starts on the first bar at or after the start time, so the range is made of whole bars: on M15, a 09:00–09:45 range uses three bars. While the range forms it is drawn as a light zone. After it closes, the OR High, OR Low, OR Open and OR Mid lines and the trade entry zone run to the end of the window.

Three Range Types

Full, body or ATR-based range.

  • Full Range, the default: OR High and OR Low are the highest high and the lowest low of the range bars, wicks included.
  • Body Range: the highest and lowest candle body, open or close, so wicks are left out.
  • ATR-based Range: OR Open plus and minus ATR × multiplier, ATR(14) × 1.5 by default. With ATR Source set to High / Low, the offset is added to the high and subtracted from the low of the range bars instead.

OR Open is the open of the first range bar, and OR Mid lies halfway between OR High and OR Low.

Breakout Confirmation

High / Low or Close.

High / Low, the default, registers a breakout as soon as the bar’s high goes above OR High or its low goes below OR Low. Close requires the bar to close beyond the level. With Close, the arrow appears on the forming bar while price is beyond the level, is removed if the bar closes back inside, and is fixed when the bar closes.

A breakout has to start from the range: the breakout bar or the bar before it must open inside the opening range, or beyond its opposite edge. Price that is already beyond the level, for example after a gap, gives no signal until a bar opens back inside the range.

Signal Modes

First breakout, one per direction, or every breakout.

  • First Breakout Only: one signal per session, in whichever direction comes first.
  • One Breakout Per Direction: at most one Long and one Short signal per session.
  • All Breakouts (Continuous), the default: a signal on each new breakout. After a Long signal, the next Long signal needs a bar that stays fully inside the range first, or a Short signal in between. Short signals work the same way.

Breakout Threshold

A minimum move beyond the level, with a confirmation window.

With Enable Threshold on, price has to move beyond OR High or OR Low by a set distance: 5 ticks by default, or a percentage of the level, 0.05% by default. The Long trigger is then OR High plus the threshold, and the Short trigger OR Low minus it. On a five-digit EURUSD quote one tick is 0.00001, so 30 ticks is 3 pips.

The confirmation window, on by default, gives price 3 bars after it first crosses the level to reach the threshold. If it does not, that crossing gives no signal. With the window off, any later bar that reaches the trigger inside the trade entry window gives the signal.

TP and SL Levels

Projected from the trigger price after each signal.

After a signal, take-profit and stop-loss zones are drawn from the trigger price, which is the OR level or the level plus the threshold, to the end of the trade entry window.

  • TP: Range Multiplier, the default, places the TP one range height (× 1.0) from the trigger price. ATR Based uses ATR(14) × multiplier, and Fixed uses ticks, a price distance or a percentage. A TP (50%) level halfway to the TP is on by default.
  • SL: Range Percent Level, the default, places the SL 50% of the range height from the trigger price, which is OR Mid when no threshold is used. ATR Based and Fixed work as for the TP. A 50% SL halfway to the SL can be added.

With TP Alert & Signals or SL Alert & Signals enabled, a dot marks the bar where price reaches the level and an alert can be sent. Tracking of a signal ends at its TP or SL, and a signal in the opposite direction starts new zones.

Previous Day Opening Range

Yesterday’s range levels carried into today.

With Show Previous Day Opening Range on, the previous session’s OR High, OR Low, OR Open and OR Mid are drawn as dashed lines into the current session and labelled Prev OR High, Prev OR Low, Prev OR Open and Prev OR Mid. The same values are written to buffers 22–25.

Display Options

Lines, labels, zones and arrow size.

The OR Open and OR Mid lines can be hidden. Labels for the current range, the previous day’s range and the TP and SL levels are off by default and are switched on separately. The opening range, trade entry, TP, TP (50%), SL and 50% SL zones each have their own colour, and all zones except the opening range can be turned off. Signal Arrow Size sets the size of the Long and Short arrows, 3 by default.

Alerts

Pop-up, sound and email on breakouts, TP and SL.

Each Long and Short signal sends an alert in real time as a pop-up, a sound and an email, each switched on or off separately. TP (50%), TP, 50% SL and SL alerts are added with their own Alert & Signals settings. With Close confirmation, the breakout alert is sent once per bar, when the arrow first appears on the forming bar. Emails go to the address set in MetaTrader 5 under Tools → Options → Email.

Example message: 2026.11.04 10:30:00: EURUSD: Long signal at 1.12468.

Signals Readable by Expert Advisors

Levels, signals and time windows stored in indicator buffers.

All levels and events are available to an Expert Advisor through iCustom() and CopyBuffer():

  • 0–3: OR Open, OR High, OR Low and OR Mid.
  • 4–7: Long and Short TP (50%) and TP levels.
  • 8–9: Long and Short signals, at the trigger price.
  • 10–13: Long and Short TP (50%) and TP hits.
  • 14–17: Long and Short 50% SL and SL levels.
  • 18–21: Long and Short 50% SL and SL hits.
  • 22–25: previous day’s OR Open, OR High, OR Low and OR Mid.
  • 26–27: 1 inside the opening range time and inside the trade entry window, 0 outside.

Bars without a value hold EMPTY_VALUE.

How to Use

How to Read and Use the Opening Range Breakout Indicator

Reading the Chart

The light zone is the opening range while it forms. The grey zone that follows is the trade entry window, with the OR High, OR Low, OR Open and OR Mid lines across it. A green arrow below the price marks a Long breakout and a red arrow above it a Short breakout. After a signal, green zones show the distance to TP (50%) and TP, and the red zone the distance to the SL. Dots mark the bars where price reached those levels, when TP or SL signals are enabled.

Setting the Session Times

Enter the times in the chart’s server time, not your local time. Many brokers run their servers on GMT+2 in winter and GMT+3 in summer, which puts the New York open at 09:30 ET at 16:30 server time. Compare the time of the last quote in Market Watch with your own clock to find the offset.

Use a timeframe whose bars start at your range times. For a 09:30–10:00 range that is M1, M5, M15 or M30; on H1 the bars start on the full hour and the range would not match.

Choosing the Range Type

Full Range includes every wick, so a single spike in the first minutes widens the range. Body Range leaves wicks out and gives a narrower range. ATR-based Range sets the width from recent volatility, so it does not depend on how far price travelled in the first bars.

Choosing the Signal Mode

First Breakout Only gives one reading per session. One Breakout Per Direction also shows a later break to the other side, for example a Long breakout that fails and a Short breakout that follows.

Long and Short Breakouts in One Session

All Breakouts (Continuous) also marks a new breakout in the same direction after price has returned into the range.

Repeated Long Breakouts

High / Low, Close and the Threshold

High / Low reacts to the first wick beyond the level. Close ignores wicks that close back inside the range and confirms the signal at the bar close. A threshold leaves out small moves just beyond the level. A threshold in ticks is easy to keep consistent on one symbol; a percentage scales with the price level.

Reading the TP and SL Levels

With the defaults, the TP is one range height from the trigger price and the SL half a range height, so both scale with the size of the opening range. A wide range gives distant levels, a narrow range close ones. The levels are drawn on the chart and written to buffers; the indicator does not place or manage orders.

Limitations

  • The range uses whole bars of the chart timeframe, so the range times must match the bar boundaries.
  • Times are server time. If your broker’s server and the market you trade change to daylight saving time on different dates, the session can be an hour off for a few weeks.
  • With Close confirmation, an arrow on the forming bar is removed if the bar closes back inside the range.
  • Alerts are sent only in real time, not for signals found on history.
  • On history, when one bar reaches both the TP and the SL, the order is decided from the bar’s open and close.
  • The indicator does not place or manage orders.
Settings

Indicator Settings & Parameters

Inputs as they appear in the indicator’s Inputs tab.

ParameterDescription
License
License EmailThe email used for your trial, subscription or purchase. The license is verified with this email.
Alerts
Enable pop up alertShows a pop-up alert. Default: true.
Enable sound alertPlays a sound when an alert is triggered. Default: true.
Alert sound fileSound file played for alerts. Default: Alert1.wav.
Enable email alertSends an email. Default: true.
Email toEmails are sent to the address set in MetaTrader 5 under Tools → Options → Email.
ORB
Opening Range Start TimeStart of the opening range in chart server time, HH:MM:SS. Default: 09:30:00.
Opening Range End TimeEnd of the opening range. Default: 10:00:00.
Trade Entry Start TimeStart of the window in which breakouts are detected. Default: 10:00:00.
Trade Entry End TimeEnd of that window; lines and zones stop here. Default: 16:00:00.
Range TypeFull Range, Body Range or ATR-based Range. Default: Full Range.
ATR PeriodATR period for the ATR-based range. Default: 14.
ATR SourceOpen sets the range around OR Open; High / Low adds the offset to the high and subtracts it from the low of the range bars. Default: Open.
ATR MultiplierDefault: 1.5.
Show Previous Day Opening RangeDraws the previous session’s OR levels into the current session. Default: false.
Signals
Breakout Confirmation ModeHigh / Low or Close. Default: High / Low.
Signal ModeFirst Breakout Only, One Breakout Per Direction or All Breakouts (Continuous). Default: All Breakouts (Continuous).
Enable ThresholdRequires price to move a minimum distance beyond the OR level. Default: false.
Threshold ModeTicks or Percent. Default: Ticks.
Threshold (%)Percentage of the OR level. Default: 0.05.
Threshold (Ticks)Default: 5.
Enable Threshold Confirmation WindowLimits the number of bars in which price must reach the threshold after it first crosses the level. Default: true.
Threshold Confirmation Window (Bars)Default: 3.
Target & Stop Levels
Enable TPDraws the take-profit level and zone after each signal. Default: true.
TP Calculation ModeFixed, ATR Based or Range Multiplier. Default: Range Multiplier.
TP Range MultiplierTP distance from the trigger price as a multiple of the range height. Default: 1.0.
TP Fixed UnitTicks, Points or Percent. Default: Ticks.
TP Fixed TicksDefault: 5.
TP Fixed PointsDistance in price units, not MetaTrader points. Default: 5.
TP Fixed PercentPercentage of the trigger price. Default: 0.1.
TP ATR PeriodDefault: 14.
TP ATR MultiplierDefault: 1.0.
Enable TP Alert & SignalsMarks the bar where price reaches the TP and sends an alert. Default: false.
Enable 50% TPDraws a level halfway to the TP. Default: true.
Enable 50% TP Alert & SignalsMarks and alerts when price reaches the 50% TP. Default: false.
TP Alert ColorColour of the TP hit markers. Default: light green.
Enable SLDraws the stop-loss level and zone after each signal. Default: true.
SL Calculation ModeFixed, ATR Based or Range Percent Level. Default: Range Percent Level.
SL Fixed UnitTicks, Points or Percent. Default: Ticks.
SL Fixed TicksDefault: 5.
SL Fixed PointsDistance in price units, not MetaTrader points. Default: 5.
SL Fixed PercentPercentage of the trigger price. Default: 0.1.
SL ATR PeriodDefault: 14.
SL ATR MultiplierDefault: 1.0.
SL Range % LevelSL distance from the trigger price as a percentage of the range height. Default: 50.
Enable SL Alert & SignalsMarks the bar where price reaches the SL and sends an alert. Default: false.
Enable 50% SLDraws a level halfway to the SL. Default: false.
Enable 50% SL Alert & SignalsMarks and alerts when price reaches the 50% SL. Default: false.
SL Alert ColorColour of the SL hit markers. Default: indian red.
Visual Parameters
Signal Arrow SizeSize of the Long and Short arrows. Default: 3.
Enable Open LinesDraws the OR Open line. Default: true.
Enable Mid LinesDraws the OR Mid line. Default: true.
Show Current Day OR LabelsOR High, OR Low, OR Open and OR Mid labels. Default: false.
Show Previous Day OR LabelsPrev OR High, Prev OR Low, Prev OR Open and Prev OR Mid labels. Default: false.
Show Trade Entry LabelsTP, TP (50%) and SL labels. Default: false.
Color Main Opening RangeColour of the opening range zone. Default: white smoke.
Enable Main Cloud Trade Entry / Color Main Trade EntryTrade entry zone. Default: true, dark grey.
Enable Main Cloud TP Half / Color Main Cloud TP HalfZone up to the TP (50%). Default: true, light green.
Enable Main Cloud TP Full / Color Main Cloud TP FullZone from the TP (50%) to the TP. Default: true, medium sea green.
Enable Main Cloud SL Half / Color Main Cloud SL HalfZone up to the 50% SL. Default: true, misty rose.
Enable Main Cloud SL Full / Color Main Cloud SL FullZone up to the SL. Default: true, light coral.
FAQ

Frequently Asked Questions

Opening Range Basics

From the bars between Opening Range Start Time and Opening Range End Time. With Full Range, OR High and OR Low are the highest high and lowest low of those bars; Body Range uses candle bodies only; ATR-based Range sets them at ATR × multiplier around OR Open. OR Open is the open of the first range bar and OR Mid lies halfway between OR High and OR Low.

The chart’s server time, the time your broker’s MetaTrader 5 charts show. With many brokers on GMT+2 in winter and GMT+3 in summer, the New York open at 09:30 ET is 16:30 server time. Sessions that cross midnight are supported.

One whose bars start at your range times, because the range is built from whole bars. For a 09:30–10:00 range that is M1, M5, M15 or M30. On H1 the bars start on the full hour and the range would not match the times you set.

The period after the opening range in which breakouts are detected, 10:00 to 16:00 by default. No signals are given outside it, and the lines and TP and SL zones end at Trade Entry End Time.

The most common reasons: the break happened outside the trade entry window; the signal mode allows no further signal in that session or direction; the threshold was not reached within the confirmation window; or the bar opened beyond the level, for example after a gap, instead of breaking out from the range. In All Breakouts mode, a second signal in the same direction needs a bar that stays fully inside the range first.

Setup & Use

With High / Low confirmation, an arrow is fixed as soon as price reaches the trigger. With Close, the arrow on the forming bar is removed if the bar closes back inside the range; the alert for it has already been sent. Once the bar closes, the signal does not change. OR High and OR Low move only while the range is still forming.

From the trigger price of the signal, which is the OR level or the level plus the threshold. By default the TP is one range height away and the SL half a range height, which places the SL at OR Mid when no threshold is used. Both can instead use ATR × multiplier or a fixed distance in ticks, price units or percent.

Hit markers and their alerts are off by default. Turn on Enable TP Alert & Signals, Enable 50% TP Alert & Signals, Enable SL Alert & Signals or Enable 50% SL Alert & Signals as needed.

A pop-up, a sound and an email for each Long and Short signal, and for TP and SL hits when they are enabled. Alerts are sent only in real time. Emails go to the address set in MetaTrader 5 under Tools → Options → Email.

Yes. Signal Arrow Size in the Visual Parameters sets the size of the Long and Short arrows; the default is 3.

Yes. OR levels are in buffers 0–3, TP levels in 4–7, Long and Short signals in 8 and 9, TP hits in 10–13, SL levels in 14–17, SL hits in 18–21, the previous day’s range in 22–25, and the opening range and trade entry time flags in 26 and 27. Bars without a value hold EMPTY_VALUE.

Requirements & Installation

System Requirements & Installation

What you need to run the indicator, how to download and install it in MetaTrader 5, and how the license works.

System Requirements

Platform
MetaTrader 5 (Desktop)
Operating system
Windows 10 or Windows 11
Instruments
Forex pairs, metals, indices, CFDs and other symbols available from your broker in MetaTrader 5
Data
Your broker’s price feed in MetaTrader 5

Not available on MetaTrader 5 Web or Mobile. Custom indicators run in the MetaTrader 5 desktop terminal only.

License Terms

Lifetime License
This indicator only, 1 live and 1 demo account, one-time payment, free updates included.
All-Access Subscription
All indicators and trade copiers, billed monthly, cancel anytime, updates included while the subscription is active.
Free trial
5 days on the subscription plan. If not cancelled, the subscription starts automatically.
License binding
Linked to your email and to your MetaTrader 5 trading accounts: one live account and one demo account.
Computers
Not restricted. The license is linked to your trading accounts, not to a specific computer.

Installation

  1. Get access

    Start the free trial, subscribe, or buy a lifetime license on this page.

  2. Download

    The indicator is not sent by email. Open (top right of this page) and enter the email you used for your trial, subscription or purchase. The indicator file (.ex5) downloads to your computer.

  3. Copy to the MetaTrader 5 data folder

    In MetaTrader 5, go to File → Open Data Folder, open MQL5 → Indicators and copy the downloaded .ex5 file there.

  4. Add to a chart

    Restart MetaTrader 5 or right-click Indicators in the Navigator window and select Refresh. Then drag the indicator from the Navigator onto a chart.

  5. Activate the license

    In the indicator inputs, enter the same email. On first activation, the license is linked to that email and to the trading account the terminal is logged into.

    The license check needs DLL imports. Allow them in the indicator’s Common tab or under Tools → Options → Expert Advisors. Without them, or without a valid email, the indicator shows a message and does not load.

Updating: When a new version is released, download it again through and replace the existing .ex5 file in the same folder.

Installation questions? Contact support, Monday to Friday.

Developed by Nordman Algorithms

Developed, tested, documented, and maintained by our algorithmic trading software development team.

Meet the Team →
We Value Your Feedback Help us make it better

If you’ve spotted a bug, feel something essential is missing, or have ideas that could make this indicator better — we want to hear it.
Your feedback directly shapes future updates.

Send Feedback →
Custom Programming

Need a different setup?

We can customize this indicator to your specifications: add new functions, modify the logic, refine visuals, or integrate it with other MetaTrader 5 tools. We also convert indicators into Expert Advisors with trailing stops, position parameter controls, execution filters and rule-based automation built to your technical specifications.

Every project is delivered with full source code and post-delivery support. Fixed-price quote before development begins.

Custom Logic Expert Advisor Development Risk & Trailing-Stop Modules Full Source Code