OPEN-SOURCE SCRIPT

Custom Session ORB - Extending Past Current Candle

68
Custom Session ORB - Extending Past Current Candle

This indicator plots Opening Range Breakout (ORB) levels for one or two customizable trading sessions directly on your chart. It dynamically tracks the high, low, and midpoint of the defined session(s) and extends these levels beyond the session using a configurable offset.

Features:

Supports two custom sessions.

New York and Asia pre-saved.

Automatically tracks session High, Low, and Mid.

Option to extend ORB levels past the live candle.

Option to display only the most recent ORB for a clean chart.

Configurable line thickness, style, and label size.

Works in Eastern Standard Time (EST) without manual adjustment.

Settings:

Show Labels: Toggle to display ORB values on chart.

Label Font Size: Small, Normal, Large.

Mid Line Style: Solid, Dashed, or Dotted.

ORB Line Thickness: Set line thickness of ORB levels.

Extend Past Current Candle by N Bars: Controls how far the ORB extends visually.

Show Only Current ORB: Cleans chart by removing previous session ORB levels.

Enable Session 1 / 2: Toggle individual sessions on/off.

Session Time: Set the start and end times for each session (automatically in EST).


How It Works:
The indicator monitors the defined session time, records the high, low, and midpoint, and draws lines at those levels. When the session ends, the lines are extended by the specified offset for easy breakout visualization. Labels can optionally show the exact price levels.

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.