OPEN-SOURCE SCRIPT
RAFEN-G - Kill Zones & Institutional Gaps

🔍 What It Does
Kill Zones (KZ1, KZ2, KZ3)
Automatically highlights the main intraday liquidity windows such as the London open, NY AM, and NY PM sessions — customizable by time, color, and transparency.
Perfect for timing setups, identifying liquidity sweeps, or backtesting session behavior.
Institutional GAP Detection (NY 11:00 → 03:00)
Anchored on the New York H1 clock, the script automatically draws the “institutional gap” between the 11:00 close and the 03:00 open of the next trading day.
Each gap is drawn as a transparent box with a label showing its size in price units.
Dynamic Cleanup & Color Updates
Automatically removes old boxes beyond your chosen history limit and keeps all visuals perfectly synchronized in real-time.
⚙️ Key Features
3 fully independent and editable Kill Zones
Adjustable timezone (default: America/New_York)
Works on all intraday timeframes
Auto-management of historical data
Clean and lightweight visuals (up to 2000 boxes)
Real-time color and transparency updates
Alerts when each Kill Zone starts
🧠 Ideal For
Traders using ICT, SMC, or institutional frameworks who want clear visual separation of market sessions and automatic tracking of session-to-session gaps for confluence or imbalance analysis.
🕐 Recommended Use
Apply on 5 min / 15 min / 1 h charts, align timezone to NYC, and combine with liquidity or FVG tools for maximum insight.
Kill Zones (KZ1, KZ2, KZ3)
Automatically highlights the main intraday liquidity windows such as the London open, NY AM, and NY PM sessions — customizable by time, color, and transparency.
Perfect for timing setups, identifying liquidity sweeps, or backtesting session behavior.
Institutional GAP Detection (NY 11:00 → 03:00)
Anchored on the New York H1 clock, the script automatically draws the “institutional gap” between the 11:00 close and the 03:00 open of the next trading day.
Each gap is drawn as a transparent box with a label showing its size in price units.
Dynamic Cleanup & Color Updates
Automatically removes old boxes beyond your chosen history limit and keeps all visuals perfectly synchronized in real-time.
⚙️ Key Features
3 fully independent and editable Kill Zones
Adjustable timezone (default: America/New_York)
Works on all intraday timeframes
Auto-management of historical data
Clean and lightweight visuals (up to 2000 boxes)
Real-time color and transparency updates
Alerts when each Kill Zone starts
🧠 Ideal For
Traders using ICT, SMC, or institutional frameworks who want clear visual separation of market sessions and automatic tracking of session-to-session gaps for confluence or imbalance analysis.
🕐 Recommended Use
Apply on 5 min / 15 min / 1 h charts, align timezone to NYC, and combine with liquidity or FVG tools for maximum insight.
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、この作者はスクリプトのソースコードを公開しているので、その内容を理解し検証することができます。作者に感謝です!無料でお使いいただけますが、このコードを投稿に再利用する際にはハウスルールに従うものとします。
免責事項
これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。