OPEN-SOURCE SCRIPT
Mis à jour

X ORT

1 087
X ORT — Opening Range & Time Reference Tool

Overview
The X ORT indicator is a precision tool designed for intraday traders seeking to anchor their trading decisions to high-probability price levels. It captures key market reference points including Opening Ranges, Settlement Prices, and Time-Specific Opens, all based on New York time, to help identify potential pivots and directional bias in the market.

Key Features & Usage
🔹 Opening Range Boxes (ORs)
The indicator defines up to two customizable Opening Ranges (e.g., 9:30–9:59 and 8:20–8:49 ET). Each range dynamically tracks the high, low, and midpoint price as the session unfolds, and continues to extend those levels forward throughout the day.

Use as Pivots: The high and low of the Opening Range often act as intraday support and resistance zones. A breakout above the ORH (Opening Range High) may signal bullish intent, while a drop below the ORL (Opening Range Low) may suggest bearish momentum.

Use for Directional Bias: If price remains above or below the range after completion, it may indicate a continuation in that direction. The midpoint (dashed line) serves as a mean-reversion or fair value pivot.

🔸 Settlement Price Anchors
The indicator optionally plots Daily, Weekly, and Monthly Settlement Prices, which are significant institutional reference points.

Use as Market Anchors: Settlement prices are often used by professionals to gauge positioning. Price acceptance above or below settlement can signal strength or weakness and guide directional trades.

Historical weekly and monthly settlements help define multi-day or swing levels for broader context.

🔹 Time-Based Open Levels
X ORT also draws horizontal lines at the open price of specific time points: Midnight, 8:30 AM, 9:30 AM, and 1:30 PM ET.

Use for Session Anchors: These reference opens are useful for understanding session shifts, aligning with key economic releases (like 8:30 AM), and gauging session-to-session continuity.

Why Use X ORT?
Objective Structure: Provides rule-based levels to avoid emotional trading.

Visual Clarity: Transparent, extendable boxes and labeled lines help traders focus on key decision zones.

Multi-Time Context: Blends intraday and higher timeframe levels to support short-term and swing traders.

Whether you're breakout trading, fading range extremes, or gauging market bias, X ORT offers a reliable structural foundation that aligns with how professionals track price behavior throughout the trading day.

Notes de version
control over time line color
Notes de version
clean up
Notes de version
one more clean up
Notes de version
added ability to turn Settlement labels on/off
Notes de version
clarified 'show historical' option that it is only specific to OR. all other elements historical data is shown by default
Notes de version
added 3 anchored VWAP options.
Notes de version
added control over color of OR mid-line that is dashed
Notes de version
OR color controls for fill, HL lines and mid line
Notes de version
added open prices and cleaned up settlement labels. Adjusted AVWAP options. THe ETH open is from 8pm not 6pm as TV makes it difficult to start before UTC-0
Notes de version
add bands to first AVWAP
Notes de version
clean up
Notes de version
created setting to easy switch between dark mode and light mode for specific lines and labels.

added control over OR HL lines and label visibility

reformatted AVWAP control panel and added 3 bands.
Notes de version
clean up OR fib color
Notes de version
added RTH open AVWAP
Notes de version
added 0.5 and 1.5 fibs on OR (for first two. will get to third later)
Notes de version
clean up
Notes de version
fixed AVWAP ETH start time to true open
Notes de version
changed AVWAP to ETH Open, RTH Open, and 4H's. for now bands have been eliminated to save on memory within indicator.
Notes de version
clean up image
Notes de version
clean up
Notes de version
re-worked. separated OR and Sessions. to save memory took out some lines. let me know if there is something gone that really want back

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.