OPEN-SOURCE SCRIPT
Cập nhật ORB Visualizer NSE

ORB Visualizer — Opening Range Breakout for Indian Markets
A clean, non-repainting ORB indicator for Indian stocks on 15-minute charts. Automatically marks the opening range and signals first breakouts.
[h2]Overview[/h2]
This indicator identifies the Opening Range (first 15-min candle: 9:30–9:45 IST) and visualizes it with a shaded zone, extending high/low/mid lines, and breakout signal arrows.
[h2]Features[/h2]
• ORB Zone Box — shaded area marking the opening range
• ORB High / Low / Mid Lines — key intraday levels extending across the session
• BUY / SELL Signals — first breakout above ORB High (green ▲) or below ORB Low (red ▼)
• Info Table — real-time ORB High, Low, Mid, and Range values in the top-right corner
• Auto-Reset — ORB recalculates at the start of each new trading session
[h2]How to use[/h2]
1. Apply to any Indian stock (NSE/BSE) on a 15-minute timeframe
2. The ORB zone draws automatically between 9:30–9:45 IST
3. A green ▲ BUY signal fires when price closes above ORB High
4. A red ▼ SELL signal fires when price closes below ORB Low
5. Only the first breakout per direction is shown (no repeated signals)
[h2]Customizable Inputs[/h2]
• Session start/end hour and minute — adapt to any market hours
• Toggle ORB Mid Line, Labels, and Formation Background
• Full color customization for all ORB levels
[h2]Tips[/h2]
• Best on liquid stocks (NIFTY 50, BANK NIFTY constituents)
• ORB Mid line acts as an intraday pivot
• Combine with volume for higher-probability breakouts
• Non-repainting — signals only on confirmed candle closes
[h2]Technical[/h2]
• Pine Script v6 | Indicator (not a strategy)
• Timezone: Asia/Kolkata (IST)
• Default session: 9:15–15:15 IST
A clean, non-repainting ORB indicator for Indian stocks on 15-minute charts. Automatically marks the opening range and signals first breakouts.
[h2]Overview[/h2]
This indicator identifies the Opening Range (first 15-min candle: 9:30–9:45 IST) and visualizes it with a shaded zone, extending high/low/mid lines, and breakout signal arrows.
[h2]Features[/h2]
• ORB Zone Box — shaded area marking the opening range
• ORB High / Low / Mid Lines — key intraday levels extending across the session
• BUY / SELL Signals — first breakout above ORB High (green ▲) or below ORB Low (red ▼)
• Info Table — real-time ORB High, Low, Mid, and Range values in the top-right corner
• Auto-Reset — ORB recalculates at the start of each new trading session
[h2]How to use[/h2]
1. Apply to any Indian stock (NSE/BSE) on a 15-minute timeframe
2. The ORB zone draws automatically between 9:30–9:45 IST
3. A green ▲ BUY signal fires when price closes above ORB High
4. A red ▼ SELL signal fires when price closes below ORB Low
5. Only the first breakout per direction is shown (no repeated signals)
[h2]Customizable Inputs[/h2]
• Session start/end hour and minute — adapt to any market hours
• Toggle ORB Mid Line, Labels, and Formation Background
• Full color customization for all ORB levels
[h2]Tips[/h2]
• Best on liquid stocks (NIFTY 50, BANK NIFTY constituents)
• ORB Mid line acts as an intraday pivot
• Combine with volume for higher-probability breakouts
• Non-repainting — signals only on confirmed candle closes
[h2]Technical[/h2]
• Pine Script v6 | Indicator (not a strategy)
• Timezone: Asia/Kolkata (IST)
• Default session: 9:15–15:15 IST
Phát hành các Ghi chú
# ORB Visualizer — Opening Range Breakout> A clean, non-repainting ORB indicator with fully configurable timing. Marks the opening range zone and signals first breakouts with BUY/SELL arrows.
## Overview
This indicator identifies the Opening Range (ORB) — the first N minutes after market open — and visualizes it with a shaded zone, extending high/low/mid lines, and breakout signal arrows.
The ORB start time, duration, and session end are all fully configurable, making this indicator adaptable to any market and timeframe.
## Default Setup (Indian Markets)
- ORB Start: 9:30 IST
- ORB Duration: 15 minutes (9:30–9:45 IST)
- Session End: 15:15 IST
## Features
- **ORB Zone Box** — shaded area marking the opening range (tracks highest high / lowest low during formation)
- **ORB High / Low / Mid Lines** — key intraday levels extending across the session
- **BUY / SELL Signals** — first breakout above ORB High (green triangle) or below ORB Low (red triangle)
- **Info Table** — real-time ORB High, Low, Mid, and Range values
- **Auto-Reset** — ORB recalculates at the start of each new trading day
## How to use
1. Apply to any chart on a 15-minute timeframe
2. Adjust ORB Start, Duration, and Session End in the inputs to match your market hours
3. The ORB zone draws automatically after the formation window closes
4. A green BUY signal fires when price closes above ORB High
5. A red SELL signal fires when price closes below ORB Low
6. Only the first breakout per direction is shown — no repeated signals
## Customizable Inputs
- **ORB Timing** — Start hour/minute, duration in minutes, session end hour/minute
- **Display** — Toggle ORB Mid Line, Labels, Formation Background
- **Colors** — Full color customization for ORB Zone, High, Low, and Mid levels
## Tips
- Works on any market — adjust the session times to your exchange
- ORB Mid line acts as an intraday pivot
- Combine with volume analysis for higher-probability breakouts
- Non-repainting — signals only on confirmed candle closes
## Technical
- Pine Script v6 | Indicator (not a strategy)
- Timezone: Asia/Kolkata (IST)
- No repainting, no lookahead bias
Phát hành các Ghi chú
# ORB Visualizer NSE — Opening Range Breakout> A clean, non-repainting ORB indicator with fully configurable timing. Marks the opening range zone and signals first breakouts with BUY/SELL arrows.
## Overview
This indicator identifies the Opening Range (ORB) — the first N minutes after market open — and visualizes it with a shaded zone, extending high/low/mid lines, and breakout signal arrows.
The ORB start time, duration, and session end are all fully configurable, making this indicator adaptable to any market and timeframe.
## Default Setup (Indian Markets)
- ORB Start: 9:30 IST
- ORB Duration: 15 minutes (9:30–9:45 IST)
- Session End: 15:15 IST
## Features
- **ORB Zone Box** — shaded area marking the opening range (tracks highest high / lowest low during formation)
- **ORB High / Low / Mid Lines** — key intraday levels extending across the session
- **BUY / SELL Signals** — first breakout above ORB High (green triangle) or below ORB Low (red triangle)
- **Info Table** — real-time ORB High, Low, Mid, and Range values
- **Auto-Reset** — ORB recalculates at the start of each new trading day
## How to use
1. Apply to any chart on a 15-minute timeframe
2. Adjust ORB Start, Duration, and Session End in the inputs to match your market hours
3. The ORB zone draws automatically after the formation window closes
4. A green BUY signal fires when price closes above ORB High
5. A red SELL signal fires when price closes below ORB Low
6. Only the first breakout per direction is shown — no repeated signals
## Customizable Inputs
- **ORB Timing** — Start hour/minute, duration in minutes, session end hour/minute
- **Display** — Toggle ORB Mid Line, Labels, Formation Background
- **Colors** — Full color customization for ORB Zone, High, Low, and Mid levels
## Tips
- Works on any market — adjust the session times to your exchange
- ORB Mid line acts as an intraday pivot
- Combine with volume analysis for higher-probability breakouts
- Non-repainting — signals only on confirmed candle closes
## Technical
- Pine Script v6 | Indicator (not a strategy)
- Timezone: Asia/Kolkata (IST)
- No repainting, no lookahead bias
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.