What Opening Range Levels does
Opening Range Levels is a free indicator by DinexSpace for MT5 and TradingView. Plots the high and low of the opening range of a session.
Enable JavaScript to see the chart.
Chart powered by TradingView Lightweight Charts™ (Apache-2.0 license). tradingview.com
The candles and indicator lines above come straight from the MT5 version running in the Strategy Tester (XAUUSD H1); nothing is recalculated in the browser. Press ▶ to replay bar by bar.
MT5 version
Opening Range Levels marks the high, low and middle of the opening range, the first minutes of a session you choose, and carries those levels through the rest of the day.
TradingView version
Opening Range Levels marks the high, low and middle of the opening range, meaning the first minutes of a session you choose, and carries those levels through the rest of the day.
When to use it
Use it for opening-range breakout setups.
Features and modes
Opening Range Levels has 10 documented features, listed below.
MT5 version
How it works
- You set the window and its time zone: New York (default 09:30–10:00), London, Tokyo or your broker's server time.
- US and UK daylight saving are applied automatically. Your broker's server offset is detected from the terminal; most brokers shift their clock with US daylight saving, which is the default, and a fixed or manual offset is also available.
- While the window is open the indicator tracks its high and low. When it closes, it draws the range high, low and (optionally) middle from the start of the window.
- The lines extend bar by bar until the stop hour you choose (16:00 by default), or until the next range starts if you set 0.
- Optional extension lines sit a chosen multiple of the range above the high and below the low.
- Each day keeps its own set of lines; you choose how many days stay on the chart. A panel shows whether today's range is waiting, forming or set, its high and low, and its width.
TradingView version
How it works
- You set the range window and its time zone (09:30–10:00 New York by default). Daylight saving is handled by the time zone.
- While the window is open, the script tracks its high and low and can shade the window in the background.
- When the window closes, it draws the range high, low and (optionally) middle from the start of the window. The lines extend bar by bar until the hour you choose (16:00 by default), or until the next range starts if you set 0.
- Optional extension lines sit a chosen multiple of the range above the high and below the low.
- Each day keeps its own set of lines; you choose how many days stay on the chart.
- A table shows whether today's range is waiting, forming or set, its high and low, and its width in price and percent.
Parameters
Opening Range Levels has 18 inputs in the MT5 version and 13 in the TradingView version; every input and its default is listed below.
MT5 version
- Opening range: time zone, window start and end, stop hour.
- Server time: detection mode and manual offset.
- Levels: colours, middle line, extensions and multiple.
- Display: days of history, labels, panel and corner, bars to scan.
TradingView version
- Opening range: window, time zone, stop hour.
- Levels: colours, middle line, extensions and their multiple, shading.
- Display: days of history, labels, table and position.
| Input | Default | Label in MT5 |
|---|---|---|
| Opening range | ||
InpZone | ZONE_NEW_YORK | Time zone of the window |
InpStart | 930 | Window start (HHMM) |
InpEnd | 1000 | Window end (HHMM) |
InpStopHour | 16 | Stop lines at hour (same zone, 0 = run until next range) |
| Server time (for New York / London / Tokyo windows) | ||
InpServerTz | SERVER_AUTO_US_DST | Server time zone |
InpServerOffset | 2.0 | Manual server offset from UTC (hours) |
| Levels | ||
InpColHi | clrSpringGreen | Range high |
InpColLo | clrAqua | Range low |
InpMid | true | Middle line |
InpColMid | clrDarkGray | Middle colour |
InpExt | false | Extensions |
InpExtMult | 1.0 | Extension (x range) |
InpColExt | C'255,176,0' | Extension colour |
| Display | ||
InpDays | 5 | Days of history |
InpLabels | true | Labels on today's levels |
InpPanel | true | Panel |
InpCorner | CORNER_RIGHT_UPPER | Panel corner |
InpMaxBars | 5000 | Bars to scan |
| Input | Default |
|---|---|
| Opening range | |
| Range window | "0930-1000" |
| Time zone | "America/New_York" |
| Stop lines at hour (same time zone, 0 = end of day) | 16 |
| Levels | |
| Range high | C_GREEN |
| Range low | C_AQUA |
| Middle | true |
| Extensions | false |
| × range | 1.0 |
| Shade the range window | true |
| Display | |
| Days of history | 5 |
| Labels on today's levels | true |
| Table | true |
| Table position | "Top right" |
Signals
Opening Range Levels does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.
Alerts
No. Opening Range Levels has no built-in alerts.
Buffers for Expert Advisors
No. Opening Range Levels draws chart objects (lines, boxes, labels or a panel) and has no indicator buffers for EAs.
Timeframes and markets
Needs an intraday chart with a timeframe no longer than the window.
- Needs an intraday chart with a timeframe no longer than the window (for a 30-minute window, use 30 minutes or less).
Limitations
Opening Range Levels is an analysis tool, not a trading system. Its documented limitations are listed below.
MT5 version
- Needs an intraday chart with a timeframe no longer than the window.
- The range is built from chart bars; a window that starts inside a bar begins at the next bar.
The indicator only draws levels. It does not trade, give signals or use DLLs or web requests.
TradingView version
- Needs an intraday chart with a timeframe no longer than the window (for a 30-minute window, use 30 minutes or less).
- The range is built from chart bars; a window that starts inside a bar begins at the next bar.
- It draws levels only. It does not say when to buy or sell.
This script is an analysis aid only. It does not give trade signals or investment advice.
Pine Script code
Paste the whole script into the Pine Editor on TradingView.
opening_range_levels.pine · 126 lines//@version=6
// DinexSpace | Opening Range Levels
// Marks the high, low and middle of the opening range (the first minutes of a session you choose) and
// extends them through the rest of the day, with optional range extensions above and below.
// Each day gets its own set of lines; a table shows today's range and its width.
// It only draws levels; it does not give trade signals.
// Free and open source. License: MIT. (c) 2026 DinexSpace
indicator("DinexSpace | Opening Range Levels", shorttitle = "DNX Opening Range", overlay = true, max_lines_count = 500, max_labels_count = 50)
// ===== Brand colours =====
C_GREEN = #00FF7F // SpringGreen
C_AQUA = #00FFFF // Aqua
C_AMBER = #FFB000
C_GRAY = #9AA0A6
// ===== Inputs: range =====
GRP_R = "Opening range"
orSess = input.session("0930-1000", "Range window", group = GRP_R)
orTz = input.string("America/New_York", "Time zone", group = GRP_R)
endHour = input.int(16, "Stop lines at hour (same time zone, 0 = end of day)", minval = 0, maxval = 23, group = GRP_R)
// ===== Inputs: levels =====
GRP_L = "Levels"
colHi = input.color(C_GREEN, "Range high", group = GRP_L)
colLo = input.color(C_AQUA, "Range low", group = GRP_L)
showMid = input.bool(true, "Middle", inline = "mid", group = GRP_L)
colMid = input.color(C_GRAY, "", inline = "mid", group = GRP_L)
showExt = input.bool(false, "Extensions", inline = "ext", group = GRP_L)
extMult = input.float(1.0, "× range", minval = 0.1, step = 0.1, inline = "ext", group = GRP_L)
colExt = input.color(C_AMBER, "", inline = "ext", group = GRP_L)
shadeOR = input.bool(true, "Shade the range window", group = GRP_L)
// ===== Inputs: display =====
GRP_D = "Display"
histDay = input.int(5, "Days of history", minval = 1, maxval = 60, group = GRP_D)
showLbl = input.bool(true, "Labels on today's levels", group = GRP_D)
showTbl = input.bool(true, "Table", group = GRP_D)
tblPos = input.string("Top right", "Table position", options = ["Top right", "Top left", "Bottom right", "Bottom left"], group = GRP_D)
// ===== Opening range =====
bool intraday = timeframe.isintraday
bool inOR = intraday and not na(time(timeframe.period, orSess, orTz))
bool orStart = inOR and not inOR[1]
bool orEnd = not inOR and inOR[1]
var float orHi = na
var float orLo = na
var int orBar = na
var bool done = false // true once today's range window has finished
if orStart
orHi := high
orLo := low
orBar := bar_index
done := false
else if inOR
orHi := math.max(orHi, high)
orLo := math.min(orLo, low)
if orEnd
done := true
// Lines stop at `endHour` in the range time zone (0 = keep them running until the next range starts).
bool afterEnd = endHour > 0 and hour(time, orTz) >= endHour and not inOR
bgcolor(shadeOR and inOR ? color.new(C_GRAY, 88) : na, title = "Range window")
// ===== Lines: one set per day =====
var array<line> lines = array.new<line>()
var array<line> today = array.new<line>()
var array<color> todayCol = array.new<color>() // colours of today's lines, for the labels
var array<label> lbls = array.new<label>()
newLine(float y, color col, int st) =>
line ln = line.new(orBar, y, bar_index, y, color = col, width = 1, style = st)
lines.push(ln)
today.push(ln)
todayCol.push(col)
if orEnd and not na(orHi)
today.clear()
todayCol.clear()
float rng = orHi - orLo
newLine(orHi, colHi, line.style_solid)
newLine(orLo, colLo, line.style_solid)
if showMid
newLine((orHi + orLo) / 2, colMid, line.style_dotted)
if showExt
newLine(orHi + extMult * rng, colExt, line.style_dashed)
newLine(orLo - extMult * rng, colExt, line.style_dashed)
// Keep at most `histDay` days of lines (up to 5 lines per day).
while lines.size() > histDay * 5
line.delete(lines.shift())
// Extend today's lines bar by bar until the stop hour.
if done and not afterEnd
for ln in today
ln.set_x2(bar_index)
if barstate.islast
for lb in lbls
lb.delete()
lbls.clear()
if showLbl and done
for [i, ln] in today
lbls.push(label.new(ln.get_x2(), ln.get_y2(), str.tostring(ln.get_y2(), format.mintick), color = color(na), textcolor = todayCol.get(i), style = label.style_label_left, size = size.small))
// ===== Table =====
tPos = switch tblPos
"Top left" => position.top_left
"Bottom right" => position.bottom_right
"Bottom left" => position.bottom_left
=> position.top_right
var table tbl = table.new(tPos, 2, 6, bgcolor = color.new(color.black, 10), border_color = color.new(color.gray, 70), border_width = 1)
cell(int r, string name, string val, color col) =>
table.cell(tbl, 0, r, name, text_color = color.gray, text_size = size.small, text_halign = text.align_left)
table.cell(tbl, 1, r, val, text_color = col, text_size = size.small, text_halign = text.align_right)
if showTbl and barstate.islast
string st = not intraday ? "Needs an intraday chart" : inOR ? "Forming" : done ? "Set" : "Waiting"
cell(0, "Opening range", st, inOR ? C_AMBER : color.white)
cell(1, "High", na(orHi) ? "-" : str.tostring(orHi, format.mintick), colHi)
cell(2, "Low", na(orLo) ? "-" : str.tostring(orLo, format.mintick), colLo)
cell(3, "Width", na(orHi) ? "-" : str.tostring(orHi - orLo, format.mintick), color.white)
cell(4, "Width % of low", na(orHi) or orLo == 0 ? "-" : str.tostring((orHi - orLo) / orLo * 100, "0.00") + "%", color.white)
table.cell(tbl, 0, 5, "DinexSpace", text_color = C_GREEN, text_size = size.tiny, text_halign = text.align_left)
Opening Range Levels FAQ
Opening Range Levels is free, runs on MT5 and TradingView and does not place trades.
Is Opening Range Levels free?
Yes. Opening Range Levels is free to download from this page with no sign-up, and the download includes the full source code.
Which platforms does Opening Range Levels run on?
Opening Range Levels is available for MetaTrader 5 (MQL5) and TradingView (Pine Script v6).
Does Opening Range Levels give buy and sell signals?
Opening Range Levels does not generate buy or sell signals. It is an analysis tool: you read what it plots and make your own decisions.
Does Opening Range Levels have alerts?
No. Opening Range Levels has no built-in alerts.
Can an EA read Opening Range Levels?
No. Opening Range Levels draws chart objects (lines, boxes, labels or a panel) and has no indicator buffers for EAs.
Which timeframes does Opening Range Levels work on?
Needs an intraday chart with a timeframe no longer than the window.
Does Opening Range Levels place trades?
No. It is a read-only indicator: it only reads market data and shows the result on the chart or writes it to a file. The source contains no calls that open, close or modify orders.
How do I install Opening Range Levels?
Download the .zip and follow the step-by-step installation guide for MT5 and TradingView: https://indicators.dinexspace.com/install-guide/
Measured win rates (backtest)
Measured (signal-by-signal check against MT5: in progress)
Out of sample on H1: 2 of 20 symbols above break-even after costs.
Swipe sideways to see every timeframe.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 42.6% (n=824; break-even 59.2%) | 46.8% (n=691; break-even 55.1%) | – | – |
| AUS200 | – | – | – | – |
| BNB | – | 45.3% (n=986; break-even 57.6%) | – | – |
| BTCUSD | 49.7% (n=1179; break-even 53.5%) | 50.2% (n=1032; break-even 51.7%) | – | – |
| ETHUSD | 50.9% (n=1155; break-even 56.8%) | 50.1% (n=1006; break-even 53.4%) | – | – |
| EURUSD | 47.1% (n=794; break-even 55.8%) | 50.2% (n=696; break-even 53.3%) | – | – |
| GBPUSD | 48.1% (n=811; break-even 56.1%) | 47.6% (n=721; break-even 53.5%) | – | – |
| GER40 | 53.4% (n=753; break-even 52.8%) | 54.2% (n=677; break-even 51.6%) | – | – |
| JP225 | 47.5% (n=807; break-even 57.7%) | 48.0% (n=686; break-even 53.5%) | – | – |
| NAS100 | 49.3% (n=836; break-even 51.3%) | 51.1% (n=717; break-even 50.8%) | – | – |
| NZDUSD | 41.9% (n=819; break-even 63.2%) | 46.8% (n=711; break-even 57.2%) | – | – |
| SOLUSD | 35.3% (n=1190; break-even 81.1%) | 41.8% (n=1026; break-even 65.3%) | – | – |
| UK100 | 44.3% (n=783; break-even 59.1%) | 45.0% (n=682; break-even 55.4%) | – | – |
| US30 | 50.8% (n=813; break-even 51.8%) | 48.5% (n=688; break-even 51.1%) | – | – |
| US500 | 48.4% (n=909; break-even 53.6%) | 48.9% (n=805; break-even 52.1%) | – | – |
| USDCAD | 44.2% (n=825; break-even 58.8%) | 49.3% (n=707; break-even 55.2%) | – | – |
| USDCHF | 41.8% (n=803; break-even 59.6%) | 44.5% (n=705; break-even 55.6%) | – | – |
| USDJPY | 46.0% (n=783; break-even 57.6%) | 50.1% (n=707; break-even 53.9%) | – | – |
| WTI | 46.8% (n=838; break-even 54.5%) | 48.1% (n=747; break-even 52.7%) | – | – |
| XAGUSD | 44.9% (n=719; break-even 55.9%) | 45.5% (n=628; break-even 53.4%) | – | – |
| XAUUSD | 44.7% (n=742; break-even 51.4%) | 46.0% (n=176; break-even 51.3%)measured up to 2024-10-16 | – | – |
No data: HK50, KOSPI
Swipe sideways to see every timeframe.
| Symbol | M15 | H1 | H4 | D1 |
|---|---|---|---|---|
| AUDUSD | 49.1% (n=285; break-even 55.7%) | 47.2% (n=2998; break-even 51.4%) | – | – |
| AUS200 | 49.3% (n=73; break-even 50.0%) | 49.3% (n=73; break-even 50.0%) | – | – |
| BNB | – | 47.1% (n=2185; break-even 54.9%) | – | – |
| BTCUSD | – | 52.6% (n=511; break-even 51.1%) | – | – |
| ETHUSD | – | 52.5% (n=510; break-even 52.5%) | – | – |
| EURUSD | 41.7% (n=283; break-even 56.2%) | 47.4% (n=2878; break-even 51.4%) | – | – |
| GBPUSD | 43.2% (n=289; break-even 53.4%) | 49.1% (n=2815; break-even 51.0%) | – | – |
| GER40 | 50.3% (n=604; break-even 51.5%) | 50.4% (n=1141; break-even 50.4%) | – | – |
| JP225 | 56.9% (n=102; break-even 63.9%) | 58.0% (n=88; break-even 56.1%) | – | – |
| NAS100 | 46.9% (n=388; break-even 51.3%) | 53.4% (n=1799; break-even 50.1%) | – | – |
| NZDUSD | 38.7% (n=279; break-even 60.3%) | 45.3% (n=3046; break-even 52.8%) | – | – |
| SOLUSD | – | 55.1% (n=539; break-even 50.2%) | – | – |
| UK100 | 47.5% (n=623; break-even 53.4%) | 49.3% (n=2017; break-even 50.5%) | – | – |
| US30 | 50.8% (n=390; break-even 51.5%) | 51.9% (n=1826; break-even 50.2%) | – | – |
| US500 | 47.8% (n=402; break-even 53.1%) | 51.2% (n=1906; break-even 50.3%) | – | – |
| USDCAD | 46.6% (n=275; break-even 54.9%) | 49.9% (n=3043; break-even 51.1%) | – | – |
| USDCHF | 38.2% (n=283; break-even 58.1%) | 44.5% (n=2863; break-even 51.8%) | – | – |
| USDJPY | 46.2% (n=275; break-even 55.9%) | 47.1% (n=2930; break-even 51.7%) | – | – |
| WTI | 49.3% (n=373; break-even 52.5%) | 52.1% (n=1753; break-even 50.3%) | – | – |
| XAGUSD | 42.4% (n=316; break-even 54.8%) | 42.9% (n=2895; break-even 59.2%) | – | – |
| XAUUSD | 50.3% (n=306; break-even 51.7%) | 49.7% (n=2943; break-even 51.4%) | – | – |
No data: HK50, KOSPI
Also measured: 1:2 and 1:3 TP win rates
| Sample · symbol · timeframe | 1:2 | 1:3 |
|---|---|---|
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · M15 | 26.7% | 20.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · AUDUSD · H1 | 30.3% | 22.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · BNB · H1 | 31.3% | 24.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · M15 | 33.8% | 24.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · BTCUSD · H1 | 33.2% | 23.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · M15 | 35.0% | 25.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · ETHUSD · H1 | 32.2% | 24.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · M15 | 32.1% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · EURUSD · H1 | 33.9% | 23.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · M15 | 32.6% | 24.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · GBPUSD · H1 | 31.3% | 23.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · M15 | 39.2% | 30.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · GER40 · H1 | 38.0% | 28.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · M15 | 33.9% | 24.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · JP225 · H1 | 31.9% | 22.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · M15 | 33.4% | 25.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · NAS100 · H1 | 35.1% | 26.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · M15 | 27.8% | 20.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · NZDUSD · H1 | 30.4% | 22.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · M15 | 26.5% | 21.3% |
| Out of sample: 2024-01-01 to 2026-11-16 · SOLUSD · H1 | 29.3% | 21.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · M15 | 29.5% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · UK100 · H1 | 30.5% | 23.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · M15 | 33.1% | 25.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · US30 · H1 | 34.7% | 25.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · M15 | 32.4% | 24.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · US500 · H1 | 32.2% | 24.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · M15 | 29.4% | 21.8% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCAD · H1 | 33.0% | 25.1% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · M15 | 25.8% | 19.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDCHF · H1 | 30.5% | 23.2% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · M15 | 28.4% | 21.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · USDJPY · H1 | 31.4% | 24.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · M15 | 31.5% | 23.7% |
| Out of sample: 2024-01-01 to 2026-11-16 · WTI · H1 | 29.6% | 22.4% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · M15 | 30.1% | 22.6% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAGUSD · H1 | 30.1% | 22.9% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · M15 | 30.9% | 23.0% |
| Out of sample: 2024-01-01 to 2026-11-16 · XAUUSD · H1 | 30.1% | 21.6% |
| In sample: through 2023-12-31 · AUDUSD · M15 | 30.9% | 24.3% |
| In sample: through 2023-12-31 · AUDUSD · H1 | 31.8% | 23.4% |
| In sample: through 2023-12-31 · AUS200 · M15 | 32.9% | 21.9% |
| In sample: through 2023-12-31 · AUS200 · H1 | 32.9% | 21.9% |
| In sample: through 2023-12-31 · BNB · H1 | 32.4% | 25.1% |
| In sample: through 2023-12-31 · BTCUSD · H1 | 33.9% | 26.3% |
| In sample: through 2023-12-31 · ETHUSD · H1 | 35.7% | 24.2% |
| In sample: through 2023-12-31 · EURUSD · M15 | 28.4% | 21.8% |
| In sample: through 2023-12-31 · EURUSD · H1 | 31.1% | 22.8% |
| In sample: through 2023-12-31 · GBPUSD · M15 | 29.2% | 20.1% |
| In sample: through 2023-12-31 · GBPUSD · H1 | 32.0% | 24.2% |
| In sample: through 2023-12-31 · GER40 · M15 | 35.9% | 25.7% |
| In sample: through 2023-12-31 · GER40 · H1 | 34.7% | 26.9% |
| In sample: through 2023-12-31 · JP225 · M15 | 41.2% | 27.5% |
| In sample: through 2023-12-31 · JP225 · H1 | 39.8% | 30.7% |
| In sample: through 2023-12-31 · NAS100 · M15 | 33.8% | 27.4% |
| In sample: through 2023-12-31 · NAS100 · H1 | 36.6% | 28.7% |
| In sample: through 2023-12-31 · NZDUSD · M15 | 26.2% | 20.8% |
| In sample: through 2023-12-31 · NZDUSD · H1 | 30.1% | 23.1% |
| In sample: through 2023-12-31 · SOLUSD · H1 | 36.9% | 28.8% |
| In sample: through 2023-12-31 · UK100 · M15 | 31.5% | 22.8% |
| In sample: through 2023-12-31 · UK100 · H1 | 33.9% | 25.6% |
| In sample: through 2023-12-31 · US30 · M15 | 32.3% | 22.1% |
| In sample: through 2023-12-31 · US30 · H1 | 34.6% | 27.0% |
| In sample: through 2023-12-31 · US500 · M15 | 35.1% | 25.8% |
| In sample: through 2023-12-31 · US500 · H1 | 34.4% | 27.0% |
| In sample: through 2023-12-31 · USDCAD · M15 | 32.4% | 23.8% |
| In sample: through 2023-12-31 · USDCAD · H1 | 33.5% | 24.3% |
| In sample: through 2023-12-31 · USDCHF · M15 | 26.5% | 20.2% |
| In sample: through 2023-12-31 · USDCHF · H1 | 29.2% | 22.1% |
| In sample: through 2023-12-31 · USDJPY · M15 | 29.2% | 22.0% |
| In sample: through 2023-12-31 · USDJPY · H1 | 32.4% | 24.0% |
| In sample: through 2023-12-31 · WTI · M15 | 33.5% | 24.1% |
| In sample: through 2023-12-31 · WTI · H1 | 36.2% | 27.0% |
| In sample: through 2023-12-31 · XAGUSD · M15 | 30.4% | 22.7% |
| In sample: through 2023-12-31 · XAGUSD · H1 | 30.4% | 23.1% |
| In sample: through 2023-12-31 · XAUUSD · M15 | 31.7% | 24.5% |
| In sample: through 2023-12-31 · XAUUSD · H1 | 33.8% | 26.2% |
What counts as a win
- W1: take profit before stop loss. Stop loss = 1.5 × ATR(14) Wilder of the signal bar; shown take profit = 1 × stop loss (1:1). Entry is at the signal bar close. Buy pays the spread at entry; sell pays it at exit. If stop loss and take profit occur in the same M15 bar, count a loss. No result within 200 bars is not counted.
- W2 direction after 5, 10 and 20 bars is measured too.
- Default inputs require confluence ≥ 4/7.
- In sample: first bar to 2023-12-31; out of sample: 2024-01-01 to 2026-11-16.
- Costs: Real spread of an ECN-type MT5 account, no commission.
- Data source: MT5 tick data (BNB: Binance spot).
- Cells with fewer than 30 signals show –.
TradingView H4/D1 bars may follow the exchange time zone of the TradingView symbol, not the MT5 server time (UTC) used for the measurement; sessions and the H4 trend may differ on the Pine version. Same signals on TradingView not checked yet.
Arrows show one rate for all markets: 48% (n = 46327).
What this version adds
- Standard Opening Range versions on MT5 or TradingView do not show a measured win rate for their signals.
- Every arrow shows its measured win rate, e.g. "Buy 1:1 48% all mkts (n=46327)" (one rate for all markets: the per-market rates were not better out of sample). Measured on 20 MT5 symbols + BNB, M15 to D1, in and out of sample.
- Signals on closed bars only; 7-factor confluence score, by default only signals scoring 4/7 or more.
- ATR-based SL/TP suggestions, per-bar odds, standard buffers for EAs, one alert per closed bar.
- On gold: GII panel and an optional GII side filter (off by default: GII is not validated yet).
Past test statistics are not a promise of future results.