OPEN-SOURCE SCRIPT
Updated R-GAP Kill Zones and Overnight Gap Tracker

**R-GAP** is an advanced TradingView indicator designed for traders who focus on market sessions, liquidity behavior, and overnight price inefficiencies.
It combines customizable **Kill Zones**, an automatic **11PM → 3AM overnight GAP detector**, and a dynamic reference line system based on precise 1-minute timing.
### Main Features
* Fully customizable **Kill Zones**
* Up to 3 independent sessions
* Adjustable colors, transparency, and timezone
* Automatic high/low range boxes
* Intraday-only display option
* Automatic **Overnight GAP Detection**
* Detects the price gap between the **11PM close** and the **3AM open**
* Uses anchored H1 data for accuracy
* Draws a visual GAP box directly on the chart
* Displays the exact GAP size with labels
* Dynamic **11PM → 3AM Reference Line**
* Drawn using a dedicated 1-minute internal clock
* Fully customizable style, width, and color
* Helps visualize overnight equilibrium and liquidity levels
* Smart historical cleanup system
* Automatically removes old boxes and lines
* Optimized for performance on large histories
* Built-in alert system
* Kill Zone session start alerts
* GAP start and GAP completion alerts
### Ideal For
This indicator is especially useful for traders using:
* ICT / Smart Money Concepts
* Session-based trading
* Liquidity sweeps
* NY / London session models
* Overnight imbalance analysis
* Futures and index trading
### Designed For Precision
R-GAP was built to provide clean institutional-style session visualization while remaining lightweight and highly configurable for discretionary or systematic traders.
It combines customizable **Kill Zones**, an automatic **11PM → 3AM overnight GAP detector**, and a dynamic reference line system based on precise 1-minute timing.
### Main Features
* Fully customizable **Kill Zones**
* Up to 3 independent sessions
* Adjustable colors, transparency, and timezone
* Automatic high/low range boxes
* Intraday-only display option
* Automatic **Overnight GAP Detection**
* Detects the price gap between the **11PM close** and the **3AM open**
* Uses anchored H1 data for accuracy
* Draws a visual GAP box directly on the chart
* Displays the exact GAP size with labels
* Dynamic **11PM → 3AM Reference Line**
* Drawn using a dedicated 1-minute internal clock
* Fully customizable style, width, and color
* Helps visualize overnight equilibrium and liquidity levels
* Smart historical cleanup system
* Automatically removes old boxes and lines
* Optimized for performance on large histories
* Built-in alert system
* Kill Zone session start alerts
* GAP start and GAP completion alerts
### Ideal For
This indicator is especially useful for traders using:
* ICT / Smart Money Concepts
* Session-based trading
* Liquidity sweeps
* NY / London session models
* Overnight imbalance analysis
* Futures and index trading
### Designed For Precision
R-GAP was built to provide clean institutional-style session visualization while remaining lightweight and highly configurable for discretionary or systematic traders.
Release Notes
Ajustment nameOpen-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Rafen, le nectar de l indicateur
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Rafen, le nectar de l indicateur
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.