PROTECTED SOURCE SCRIPT
ICT 1st Presented FVG After RTH Open

ICT 1st Presented FVG After RTH Open
Overview
This indicator identifies and tracks the first Fair Value Gap (FVG) that forms after the Regular Trading Hours (RTH) open, based on Inner Circle Trader (ICT) concepts. It monitors price behavior and reaction to this initial FVG throughout the trading session.
Key Features
📊 Smart FVG Detection
• Automatically identifies the first valid FVG after RTH open (default: 9:30-10:00 AM ET)
• Filters noise using ATR-based minimum gap size validation
• Option to display all FVGs or just the first one
• Visual distinction between the first FVG and subsequent ones
⏰ Customizable Time Settings
• Adjustable RTH window (default: 9:30-10:00 AM)
• Multiple timezone support (New York, Chicago, London, Tokyo)
• Flexible tracking duration and sampling intervals
📈 Price Reaction Tracking
• Monitors price behavior relative to the first FVG over time
• Tracks whether price remains above, below, or inside the FVG zone
• Records price distance from FVG boundaries
• Displays real-time data in an easy-to-read table
• Volume tracking at each sample interval
🎨 Visual Elements
• Color-coded FVG boxes (green for bullish, red for bearish)
• Timestamp labels showing when each FVG formed
• Extendable boxes to track ongoing validity
• Optional background highlighting during RTH window
• Customizable table positions and display options
🔔 Alert System
• Visual markers on chart for easy backtesting
• Real-time programmatic alerts with detailed FVG information
• TradingView alert conditions for custom notifications
• Alerts include price range, gap size, and timestamp
Settings
Time Configuration:
• Timezone selection
• RTH start/end times
• Tracking duration (default: 120 minutes)
• Sample interval (default: 5 minutes)
FVG Validation:
• ATR length for gap size calculation
• Minimum gap size as ATR percentage
• Option to show all valid FVGs
Display Options:
• Custom colors for bullish/bearish FVGs
• Label visibility toggle
• Box extension options
• Maximum historical FVGs to display
• Info and reaction table positions
Use Cases
1. Entry Timing: Use the first FVG as a potential entry zone when price returns to fill the gap
2. Trend Confirmation: Monitor whether price respects or violates the first FVG
3. Session Analysis: Track how the first inefficiency of the session plays out over time
4. Backtesting: Visual markers allow easy historical analysis of FVG behavior
How It Works
The indicator waits for RTH to begin, then identifies the first three-candle pattern that creates a valid Fair Value Gap. Once detected, it:
1. Marks the FVG zone with a colored box
2. Begins tracking price position at regular intervals
3. Records data in a reaction table showing price behavior over time
4. Continues monitoring until the tracking duration expires or a new trading day begins
Notes
• Resets daily to track each session independently
• Works on any timeframe, though lower timeframes (1-5 min) are recommended for intraday FVG detection
• The "first presented" FVG concept emphasizes the importance of the initial inefficiency created after market open
• Historical FVGs are preserved up to the display limit for reference
This indicator is designed for traders familiar with ICT concepts and Fair Value Gap trading strategies. It combines automated detection with comprehensive tracking to help identify high-probability trading opportunities.
Overview
This indicator identifies and tracks the first Fair Value Gap (FVG) that forms after the Regular Trading Hours (RTH) open, based on Inner Circle Trader (ICT) concepts. It monitors price behavior and reaction to this initial FVG throughout the trading session.
Key Features
📊 Smart FVG Detection
• Automatically identifies the first valid FVG after RTH open (default: 9:30-10:00 AM ET)
• Filters noise using ATR-based minimum gap size validation
• Option to display all FVGs or just the first one
• Visual distinction between the first FVG and subsequent ones
⏰ Customizable Time Settings
• Adjustable RTH window (default: 9:30-10:00 AM)
• Multiple timezone support (New York, Chicago, London, Tokyo)
• Flexible tracking duration and sampling intervals
📈 Price Reaction Tracking
• Monitors price behavior relative to the first FVG over time
• Tracks whether price remains above, below, or inside the FVG zone
• Records price distance from FVG boundaries
• Displays real-time data in an easy-to-read table
• Volume tracking at each sample interval
🎨 Visual Elements
• Color-coded FVG boxes (green for bullish, red for bearish)
• Timestamp labels showing when each FVG formed
• Extendable boxes to track ongoing validity
• Optional background highlighting during RTH window
• Customizable table positions and display options
🔔 Alert System
• Visual markers on chart for easy backtesting
• Real-time programmatic alerts with detailed FVG information
• TradingView alert conditions for custom notifications
• Alerts include price range, gap size, and timestamp
Settings
Time Configuration:
• Timezone selection
• RTH start/end times
• Tracking duration (default: 120 minutes)
• Sample interval (default: 5 minutes)
FVG Validation:
• ATR length for gap size calculation
• Minimum gap size as ATR percentage
• Option to show all valid FVGs
Display Options:
• Custom colors for bullish/bearish FVGs
• Label visibility toggle
• Box extension options
• Maximum historical FVGs to display
• Info and reaction table positions
Use Cases
1. Entry Timing: Use the first FVG as a potential entry zone when price returns to fill the gap
2. Trend Confirmation: Monitor whether price respects or violates the first FVG
3. Session Analysis: Track how the first inefficiency of the session plays out over time
4. Backtesting: Visual markers allow easy historical analysis of FVG behavior
How It Works
The indicator waits for RTH to begin, then identifies the first three-candle pattern that creates a valid Fair Value Gap. Once detected, it:
1. Marks the FVG zone with a colored box
2. Begins tracking price position at regular intervals
3. Records data in a reaction table showing price behavior over time
4. Continues monitoring until the tracking duration expires or a new trading day begins
Notes
• Resets daily to track each session independently
• Works on any timeframe, though lower timeframes (1-5 min) are recommended for intraday FVG detection
• The "first presented" FVG concept emphasizes the importance of the initial inefficiency created after market open
• Historical FVGs are preserved up to the display limit for reference
This indicator is designed for traders familiar with ICT concepts and Fair Value Gap trading strategies. It combines automated detection with comprehensive tracking to help identify high-probability trading opportunities.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.