What Is an Opening Range, and How to Draw It on Index Charts in MetaTrader 5

20 November 2026, 12:53
Jozef Bogdan Cieslewicz
0
2

What an opening range is

The first minutes after a cash-market open often set a high and a low for the rest of the session. That short window is called the opening range. This article explains what the range is, why cash-session timing matters on index CFDs, and how the Index Session Opening Range indicator marks it in MetaTrader 5.

An opening range is the highest high and the lowest low formed during a chosen period after the cash session starts. Common lengths are 5, 15, 30 or 60 minutes. While the window is still open, those extremes can still change as new bars form. After it has closed, the high and the low are taken from the bars inside that window and are not moved by later price. The range is a measurement of those early bars, not a forecast.

On a cash index such as the German DAX or the S&P 500, the relevant open is the exchange cash open, not the start of the broker's 24-hour CFD chart. For GER40/DE40 that is usually 09:00 in Frankfurt, or 08:00 if you use the Xetra open. For US30, US100 and US500 it is 09:30 in New York. For UK100 it is 08:00 in London. Those local times do not always match the hour on the broker server clock, especially around daylight-saving changes.

How the indicator draws the range

Index Session Opening Range is a MetaTrader 5 indicator for symbols such as GER40/DE40, UK100, US30, US100 and US500, and for other symbols with a custom session time.

Attach it to the chart and choose a session preset and a range length. The indicator marks the range high, low and midline. It can add extension levels at chosen multiples of the range (0.5 and 1.0 by default) and keep previous sessions on the chart. The high and low update while the window is still open, then stay fixed after it has closed.

The range is calculated from M1 or M5 data where needed, so the indicator can be attached to more than one chart period. M5 or M15 is a practical starting point. If history for a day is missing, that session is skipped. Seven data buffers (high, low, mid and four extension values) are available to an Expert Advisor or a script. The indicator does not place or manage trades.

Session presets and broker-time conversion

Session times are entered in exchange local time, not broker server time. Built-in presets cover GER40/DE40 (Frankfurt 09:00 or Xetra 08:00), UK100 (London 08:00), and US30, US100 and US500 (New York 09:30). A custom preset accepts your own local hour, minute, time zone and cash-close time.

The indicator converts that local time to the broker server clock. In Auto mode the current GMT offset is taken from the terminal. Historical days use the selected broker daylight-saving policy, so weeks when US and European clocks differ are handled correctly. The default follows US daylight-saving rules, common on index CFD servers that switch with the New York close (for example GMT+2 in winter and GMT+3 in summer). If the mapped open on your chart is clearly wrong, enter the broker winter GMT offset manually and choose a US, EU, or fixed-offset policy. After installation, confirm on your broker that the box starts at the cash open you intend to use.

Alerts and display

Optional alerts can notify you when price closes beyond a finished range, or later returns to the broken boundary. Notifications may be a terminal pop-up, a push message, an email, or a sound. By default they are evaluated on the close of a bar. Display options include the box, midline, extensions, labels, colours, and how many past sessions to show.

Where to get it

Index Session Opening Range is available on the MQL5 Market:

https://www.mql5.com/en/market/product/209978

Trading involves risk; this tool does not give signals or guarantees. Past shapes of an opening range do not indicate future results. Check the session mapping on your own broker before you rely on the levels.