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.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.