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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。