OPEN-SOURCE SCRIPT
Updated

R-GAP Kill Zones and Overnight Gap Tracker

429
**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.
Release Notes
Ajustment name

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.