OPEN-SOURCE SCRIPT
Updated

Sessions

293
This indicator highlights the New York After Hours and Pre-Market session and visually defines its structure on the chart.
The session runs from 18:00 to 09:30 New York time, covering the full overnight and pre-market trading window leading into the regular cash open.

During this period, the script tracks and marks the high and low of the New York pre-market, allowing traders to clearly see the overnight range that often acts as key liquidity, support, and resistance during the regular trading session.

The session range can be displayed as a shaded background or as a high/low range, depending on user preference.

For clarity and precision, the indicator is visible only on intraday timeframes:

5-minute

30-minute

1-hour

This makes it especially useful for futures, index, and intraday traders who incorporate pre-market structure into their trading plans.
Release Notes
******UPDATE******
Removed Labels of High/Low
Release Notes
******UPDATE******
Added Yearly Marker (Weekly Chart)

Added Monthly Marker (Daily Chart)

Added Weekly Marker (Hourly Charts)

Added Daily Marker (Minute Charts)
Release Notes
******UPDATE******
Removed Weekly Line on SPX
Release Notes
******UPDATE*******
Added Session Filter for H4
Release Notes
******UPDATE*******
Corrected Monthly Timeframe Plot
Release Notes
******UPDATE******
Release Notes
******UPDATE******
Updated Script
Release Notes
******UPDATE******
Corrected Lines and New York Session Cash Open
Release Notes
******UPDATE*******
Corrected Crypto NY Session / Futures Index NY Session
Release Notes
******UPDATE******
Added Globex Marker for Futures Markets
Release Notes
******UPDATE******
Changed Yearly Marker to Weekly Chart
Removed Marker on Monthly Chart
Release Notes
******UPDATE******
Added 2M
Release Notes
******UPDATE******
Removed Timeframe under 5M for script
Release Notes
******UPDATE*******
Added Weekly Market on SPX
Release Notes
******UPDATE******
Removed Weekly Line on SPX
Release Notes
*******UPDATE******
Changed 4H and below to Weekly Lines
Release Notes
******UPDATE******
Corrected NIKKEI & Others
Release Notes
******UPDATE******
CORRECTED
Release Notes
******UPDATE******
Corrected Timezone
Corrected Session
Release Notes
******UPDATE******
Added Monthly Line to H4
Release Notes
******UPDATE*******
Cleaned Monthly and Weekly Lines
Release Notes
******UPDATE******
Removed Weekly and Session Lines
Maintained Monthly Lines
Release Notes
******UPDATE******
Default Utility
Release Notes
******UPDATE******
Added 12H
Release Notes
******UPDATE******
Added Current Monthly Timeframe
Release Notes
******UPDATE******
Corrected Weekly Lines
Release Notes
*******UPDATE******
Static Monthly Updates on Daily
Release Notes
***UPDATE***
Cleaned Timeframes
Release Notes
***UPDATE***
Visible On 1H and Higher Timeframes
Release Notes
***UPDATE***
Added Globex Lines
Release Notes
***UPDATE***
Globex Time Markers
Added into Sessions
Release Notes
***UPDATE***
Corrected Daily Chart
Next Month Line Displayed
Release Notes
***UPDATE***
Updated Globex Lines
Release Notes
***UPDATE***
Added SPX Monthly Lines on 1H
Release Notes
***UPDATE***
Added Monthly Lines on SPX Intraday Charts
Release Notes
***UPDATE***
Added lower time frames for Monthly intervals on SPX

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.