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. اقرأ المزيد في شروط الاستخدام.