OPEN-SOURCE SCRIPT
NQ 24hr High/Low from 18:00 EST

What This Script Does
This Pine Script creates 24-hour High and Low levels for NQ (Nasdaq 100 E-mini Futures), with the trading day defined as starting at 18:00 EST (when the evening futures session opens).
Instead of using the regular calendar day (midnight to midnight), it resets the high and low every day at 6:00 PM Eastern Time. This is a common way futures traders view the market, since NQ trades nearly 24 hours a day.
Key Features
Current Session Levels: It shows the highest high and lowest low reached since the most recent 18:00 EST. These levels update in real time as new price action comes in.
Historical Levels: It also draws the 24-hour High and Low from previous days. These historical lines are visible on the chart so you can see where price reacted in prior sessions.
No Extending Historical Lines: Unlike some scripts that draw lines all the way across the chart, this version draws each day’s High and Low only for the duration of that specific 24-hour period. The lines stop when the next session begins. This keeps the chart cleaner while still showing historical context.
Why Traders Use This
Many futures traders (especially day traders and swing traders) treat 18:00 EST as the start of the new trading day. This script helps them quickly see:
Where the high and low of the current 24-hour period are.
How price behaved relative to previous days’ highs and lows.
Key levels where the market may react (support/resistance) based on the prior 24-hour ranges.
In Simple Terms
Think of it as drawing a fresh “box” every day at 6:00 PM EST that shows the highest and lowest price reached during that 24-hour window. You can see both the current box (which is still moving) and all the previous boxes from earlier days.
This Pine Script creates 24-hour High and Low levels for NQ (Nasdaq 100 E-mini Futures), with the trading day defined as starting at 18:00 EST (when the evening futures session opens).
Instead of using the regular calendar day (midnight to midnight), it resets the high and low every day at 6:00 PM Eastern Time. This is a common way futures traders view the market, since NQ trades nearly 24 hours a day.
Key Features
Current Session Levels: It shows the highest high and lowest low reached since the most recent 18:00 EST. These levels update in real time as new price action comes in.
Historical Levels: It also draws the 24-hour High and Low from previous days. These historical lines are visible on the chart so you can see where price reacted in prior sessions.
No Extending Historical Lines: Unlike some scripts that draw lines all the way across the chart, this version draws each day’s High and Low only for the duration of that specific 24-hour period. The lines stop when the next session begins. This keeps the chart cleaner while still showing historical context.
Why Traders Use This
Many futures traders (especially day traders and swing traders) treat 18:00 EST as the start of the new trading day. This script helps them quickly see:
Where the high and low of the current 24-hour period are.
How price behaved relative to previous days’ highs and lows.
Key levels where the market may react (support/resistance) based on the prior 24-hour ranges.
In Simple Terms
Think of it as drawing a fresh “box” every day at 6:00 PM EST that shows the highest and lowest price reached during that 24-hour window. You can see both the current box (which is still moving) and all the previous boxes from earlier days.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.