OPEN-SOURCE SCRIPT
Cập nhật ORB UK Time Volume Confirm

This indicator builds a UK-time Opening Range (ORB) and generates breakout signals only when price closes outside the range with volume confirmation.
🔹 Core Logic
Opening Range defined by custom UK start time and duration
Breakout must be a candle close (no wick triggers)
Optional: only first breakout per day
Volume filter: breakout candle volume must exceed previous candle(s)
Signals dynamically plotted:
Green candle → signal below
Red candle → signal above
🔹 Why This Version?
Traditional ORB tools often trigger on wicks and ignore participation.
This version is designed to reduce false breaks by requiring:
Structural confirmation (close outside range)
Participation confirmation (relative volume expansion)
The goal is to filter out weak liquidity grabs and focus on genuine momentum expansion from the opening range.
🔹 Features
UK timezone
Adjustable ORB duration
Optional midline + shaded range
Bull/Bear 50%, 100%, targets
Optional volume confirmation strength (lookback setting)
Clean visual breakout markers (no labels cluttering the chart)
🔹 Best Used On
Works particularly well on 5-minute charts for index products during active sessions. I also use the 200ema if price is below i'm looking for the break below and vice versa for buys. I find this gives a better win ratio and greater chance to hit TP2 my SL is nearly always set at the mid point of the ORB. Also having the triangle on the candle keeps my chart clean and I do not have to have volume on there.
🔹 Core Logic
Opening Range defined by custom UK start time and duration
Breakout must be a candle close (no wick triggers)
Optional: only first breakout per day
Volume filter: breakout candle volume must exceed previous candle(s)
Signals dynamically plotted:
Green candle → signal below
Red candle → signal above
🔹 Why This Version?
Traditional ORB tools often trigger on wicks and ignore participation.
This version is designed to reduce false breaks by requiring:
Structural confirmation (close outside range)
Participation confirmation (relative volume expansion)
The goal is to filter out weak liquidity grabs and focus on genuine momentum expansion from the opening range.
🔹 Features
UK timezone
Adjustable ORB duration
Optional midline + shaded range
Bull/Bear 50%, 100%, targets
Optional volume confirmation strength (lookback setting)
Clean visual breakout markers (no labels cluttering the chart)
🔹 Best Used On
Works particularly well on 5-minute charts for index products during active sessions. I also use the 200ema if price is below i'm looking for the break below and vice versa for buys. I find this gives a better win ratio and greater chance to hit TP2 my SL is nearly always set at the mid point of the ORB. Also having the triangle on the candle keeps my chart clean and I do not have to have volume on there.
Phát hành các Ghi chú
UpdateImproved signal marker logic. Breakout markers now match candle direction (green candle → green up triangle, red candle → red down triangle) regardless of whether the signal appears above or below the ORB. This improves visual clarity without changing the indicator’s breakout logic.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.