OPEN-SOURCE SCRIPT
Futures Daily Levels & Gap Highlighter [Customizable]

Overview
This Pine Script v6 indicator is a streamlined, essential toolkit designed specifically for Futures traders (ES, NQ, YM, RTY). It automatically plots the most critical daily levels for price action analysis without the "staircase" or "bracket" clutter found in standard pivot indicators.
Key Features
Current Day Focus: Only plots levels for the active session. No historical lines trailing across your chart.
Essential Daily Levels: Includes Previous Day High (PDH), Previous Day Low (PDL), Previous Day Open (PDO), Previous Day Close (PDC), and the Current Day Open.
Gap Highlighter: Automatically identifies and shades the "Globex Gap"—the area between the Previous Day Close and the Session Open—if the gap exceeds a user-defined threshold (default 5 points).
Full Customization: Every level has its own color picker and line thickness setting (1–10) in the input menu, allowing you to match any chart theme.
Dynamic Labels: Real-time price labels are pinned to the right margin for quick reference without needing to hover over the price axis.
How to Use
Identify Market Bias: Watch how price reacts to the PDC or the Current Day Open.
Gap Trading: Use the yellow highlighted zone to visualize "gap fill" targets.
Key Targets: Use the PDH and PDL as natural areas of liquidity for profit-taking or trend reversals.
This Pine Script v6 indicator is a streamlined, essential toolkit designed specifically for Futures traders (ES, NQ, YM, RTY). It automatically plots the most critical daily levels for price action analysis without the "staircase" or "bracket" clutter found in standard pivot indicators.
Key Features
Current Day Focus: Only plots levels for the active session. No historical lines trailing across your chart.
Essential Daily Levels: Includes Previous Day High (PDH), Previous Day Low (PDL), Previous Day Open (PDO), Previous Day Close (PDC), and the Current Day Open.
Gap Highlighter: Automatically identifies and shades the "Globex Gap"—the area between the Previous Day Close and the Session Open—if the gap exceeds a user-defined threshold (default 5 points).
Full Customization: Every level has its own color picker and line thickness setting (1–10) in the input menu, allowing you to match any chart theme.
Dynamic Labels: Real-time price labels are pinned to the right margin for quick reference without needing to hover over the price axis.
How to Use
Identify Market Bias: Watch how price reacts to the PDC or the Current Day Open.
Gap Trading: Use the yellow highlighted zone to visualize "gap fill" targets.
Key Targets: Use the PDH and PDL as natural areas of liquidity for profit-taking or trend reversals.
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.
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.
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.