ICT-ORG

1. Overview

The Open Range Gap (ORG) is a core concept utilized in the ICT methodology, representing the price discrepancy between the prior Regular Trading Hours (RTH) close and the first opening tick of the current RTH session at 09:30 AM EST. This gap immediately frames the daily context:
  • Premium: Today's open is higher than the prior close.
  • Discount: Today's open is lower than the prior close.
According to ICT concepts, there is a 70% statistical probability that price action will retrace and close 50% or more of this gap within the first 30 minutes of trading (09:30 AM to 10:00 AM). These gaps often act as significant support and resistance zones. This indicator provides a highly customizable visual framework for tracking, measuring, and interacting with these crucial market levels.


2. Logic

The indicator dynamically calculates the gap between the 16:14 PM EST close and the 09:30 AM EST open. It is engineered with robust logic to ensure flawless performance even on sub-minute charts.

2.1. Gap Fill Tracking
The script visualizes price action filling the gap in real-time. It plots a tracking box that shows exactly how far the price has retraced into the gap boundaries.

2.2. Pre-Session Preview
For traders who want to monitor how price is being positioned into the 09:30 open, a live ORG preview is projected before the open. During this preview, the developing "open" tracks the current live price. At 09:30, it locks in to form the finalized gap.

2.3 Intelligent Thresholds
To keep the chart clean, Quadrants and Octants (Eighths) will only plot if the gap size meets a user-defined minimum point threshold.

2.4 Session Extensions
By default, the Open Range Gap logic spans until 10:00 AM, but can be seamlessly extended to the end of the trading day.


3. Settings & Options

3.1 Core Options
  • Hide above: Select the maximum timeframe where the indicator is visible.
  • Minimum ORG Size: Hide gaps that are too small and irrelevant.
  • Limit to last X days / Extend right: Control the historical display and right-side extension of the drawings.
  • RTH Anchor: Choose whether the gap drawing starts from the prior RTH Close or the current RTH Open.
  • Extend to end of day: Toggle the ORG drawing beyond the standard 10:00 AM cut-off.

3.2 Gap Levels & Lines
  • Open / Close / C.E.: Toggle styles, widths, and colors for the Open, Close, and Consequent Encroachment (50% level).
  • Trace Open: A trace line leading up to the gap.
  • Quadrants (25%, 75%): Enable/disable quadrant lines. Includes a minimum point threshold filter to only show on larger gaps.
  • Octants (12.5%, 37.5%, 62.5%, 87.5%): Enable/disable eighths lines with its own independent point threshold filter.

3.3 Backgrounds & Fills
  • Background: Highlights the distinct quadrants of the gap with premium/discount color coding.
  • Fill: Enables dynamic, real-time visualization boxes showing how much of the gap has been filled by current price action.

3.4 Pre-Session Preview
  • ORG Pre-Session Preview: Enable the dynamic tracking of the projected gap before the market opens.
  • Preview Minutes before session: Define how early the preview begins tracking (default is 240 minutes before 09:30).

3.5 Labels & Tooltips
  • Show Labels: Toggle core text labels. Keep labels on previous days or just the current day.
  • Label Elements: Choose to display Price, Level Fractions (e.g., 1/2), Decimals (0.5), or Percentages (50%).
  • Gap Info Labels: Display the gap date and total range size. Customize placement (Inline, Top/Bottom, Right/Left, Outside).
  • Hover Tooltips: Clean up your chart by hiding static text and displaying Gap Name, Price, Date, and Size only when you hover over the labels.