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.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.