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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。