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 de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.