PROTECTED SOURCE SCRIPT
ARB 18:00–19:00 IST — Lines Only (v6)

Draws a simple Opening Range for 24/7 markets using a custom time window. By default it captures the high and low formed between 18:00 and 19:00 IST each day, then locks those levels at 19:00 and extends two horizontal lines to the right. No alerts, no signals—pure levels so you can track breakouts or traps manually.
How it works
Uses a session in your chosen Timezone (default: Asia/Kolkata) to detect the 18:00–19:00 window.
Continuously updates the range during the window.
At 19:00 IST the range is “locked” and two lines (Range High/Range Low) are drawn and extended right.
Old lines are cleared so only the latest day’s ORB remains.
Inputs
Timezone (IANA): e.g., Asia/Kolkata, Asia/Dubai, UTC.
Start Hour / End Hour: default 18 → 19 (1-hour window). End must be after Start.
Line Width / Colors for High & Low.
Best used on
Intraday timeframes (1–60m).
24/7 symbols like BTCUSD, XAUUSD, major crypto pairs, spot gold.
Works regardless of your broker’s server timezone because the script uses the selected IANA timezone.
Notes
This is levels only: no alerts, no entries/exits, no statistics.
If you reload the chart after the window, lines persist and stay synced to the locked values.
Change the timezone if you want to anchor the window to a different locale.
Version: 1.0 (Pine v6).
How it works
Uses a session in your chosen Timezone (default: Asia/Kolkata) to detect the 18:00–19:00 window.
Continuously updates the range during the window.
At 19:00 IST the range is “locked” and two lines (Range High/Range Low) are drawn and extended right.
Old lines are cleared so only the latest day’s ORB remains.
Inputs
Timezone (IANA): e.g., Asia/Kolkata, Asia/Dubai, UTC.
Start Hour / End Hour: default 18 → 19 (1-hour window). End must be after Start.
Line Width / Colors for High & Low.
Best used on
Intraday timeframes (1–60m).
24/7 symbols like BTCUSD, XAUUSD, major crypto pairs, spot gold.
Works regardless of your broker’s server timezone because the script uses the selected IANA timezone.
Notes
This is levels only: no alerts, no entries/exits, no statistics.
If you reload the chart after the window, lines persist and stay synced to the locked values.
Change the timezone if you want to anchor the window to a different locale.
Version: 1.0 (Pine v6).
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.
Скрипт с защищённым кодом
Этот скрипт опубликован с закрытым исходным кодом. Однако вы можете использовать его свободно и без каких-либо ограничений — читайте подробнее здесь.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.