PROTECTED SOURCE SCRIPT

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

36
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).

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.