Strict Levels - Multi-TF RTH GapKey Features
1. High-Precision RTH Gap Visualization
The standout feature of this indicator is the Regular Trading Hours (RTH) Gap box.
Dynamic Gap Detection: Automatically calculates the gap between the previous day's 16:14 close and the current day's 09:30 open.
Multi-Timeframe Capability: Using request.security, the script fetches precise 1-minute data in the background. This ensures the RTH Gap plots accurately whether you are on a 1-minute, 15-minute, or 4-hour chart.
Institutional Styling: The gap is rendered with a professional black outline and a dashed center line to highlight the 50% "Fair Value" mark of the gap.
2. Strict Session Levels
The indicator plots several essential opening prices used for determining daily narrative:
Midnight Open (00:00): Often referred to as the "True Day Open," used to define the day's expansion direction.
08:30 Open: Captures the New York Pre-Market volatility, often coinciding with high-impact news releases.
07:00–09:30 Range: Automatically marks the high and low of the pre-market session, providing clear breakout or fake-out boundaries for the RTH open.
3. Strategic Liquidity Boxes
08:15 H/L Box: Specifically isolates the 15-minute range prior to the 08:30 volatility, a frequent area for liquidity "runs."
Settings & Customization
Extension Logic: Unlike standard lines that clutter your chart, these levels feature Custom Stop Hours. You can choose exactly when a level should stop extending (e.g., have the Midnight Open stop at noon).
Hour Offset Adjustment: Easily align the script to your specific exchange or local time to ensure the 16:14 and 09:30 triggers are frame-perfect.
Days to Display: Keep your charts clean by limiting the historical levels to a specific number of days back.
How to Use
Bias Confirmation: Use the Midnight and 08:30 opens to determine if price is trading at a premium or discount to the session starts.
Gap Fills: Monitor the Black RTH Gap box for potential "fill" trades or to see if the gap acts as support/resistance (Institutional Overflow).
Range Breakouts: Utilize the 0700-0930 High/Low lines to identify the morning's initial balance.
Pine Script® 인디케이터






















