INVITE-ONLY SCRIPT

ORB indicator with Total Time

20
This script calculates a custom Open Range Breakout (ORB) for a user-defined session start time and duration. Unlike standard ORB indicators, which often use fixed time frames, this script allows precise control over the session length and start, allowing observation of early-session price ranges.

Key Features and Mechanics:

Custom session timing: Set the ORB start hour, minute, and total duration in minutes. The session is anchored to New York time for consistency with NYSE/NASDAQ hours.

Dynamic ORB tracking: The script identifies the high and low of the defined ORB period, updates them in real-time, and optionally extends these lines beyond the session for continuous reference.

Visual clarity: Highlights the ORB zone during the session and allows adjustable line thickness for better visibility across charts.

Breakout alerts: Integrated alert conditions notify traders when price crosses above the ORB high or below the ORB low. Alerts are optional and configurable.

Usefulness:

Not a simple replication: While ORB scripts exist, this script combines customizable session duration, visual zone highlighting, extendable lines, and breakout alerts in a single tool.

Trader insight: Provides clear visual context and early-session breakout monitoring, making traders observe price action dynamics.

How It Works Conceptually:

The script calculates a session start timestamp based on the user-defined hour and minute.

Bars within the session are tracked to determine the highest high and lowest low.

After the session, the ORB high and low can either remain visible (extendORB = true) or disappear.

Alerts trigger when price crosses these levels, allowing users to act on potential breakouts.

This script is intended to provide visual and analytical guidance for early-session price ranges. It does not make performance claims and is based entirely on chart data. Results are not guaranteed and is intended for educational purposes only.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.