OPEN-SOURCE SCRIPT
已更新 Key Session Levels | Highs, Lows, Opens

Overview
Designed for scalping and intraday trading on ES, NQ, and other futures markets that trade around the clock, this indicator automatically plots key support/resistance levels:
Session Definitions (America/New_York Time)
Session (18:00 - 16:59 ET)
Overnight Session (18:00 - 9:30 ET)
NY Session (9:30 - 16:59 ET)
Key Features
Flexible Extension Modes
Smart Line Management
Full Customization
Common Use Cases
Strategy
Best Timeframes
Works on any intraday timeframe, optimized for: 1m, 5m, 15m, 30m, 1H
Notes
Designed for scalping and intraday trading on ES, NQ, and other futures markets that trade around the clock, this indicator automatically plots key support/resistance levels:
- Session opens
- Session highs
- Session lows
- Overnight highs
- Overnight lows
Session Definitions (America/New_York Time)
Session (18:00 - 16:59 ET)
- Tracks complete trading cycle
- Plots: High, Low
- Represents true daily extremes of each session
Overnight Session (18:00 - 9:30 ET)
- Captures Asian and European session price action
- Plots: Open, High, Low
- These levels can act as support/resistance during the NY session
NY Session (9:30 - 16:59 ET)
- Optional background highlight for regular trading hours
- Helps visually distinguish active NY session from overnight action
Key Features
Flexible Extension Modes
- Same Day: Lines end at session close
- Next Day: Lines extend through the following session
- Full Chart: Lines extend indefinitely to the right
Smart Line Management
- Optional extension of overnight levels through NY session
- Control how many historical sessions to display (1-250)
- Automatic cleanup of old lines
Full Customization
- Individual color control for each level
- Line style options (solid, dotted, dashed)
- Line width adjustment (1px-4px)
- Show/hide any level independently
Common Use Cases
- Support/Resistance
- Breakout/Break & Retest
Strategy
- Wait for price to reach a key level
- Use Level 2 data to determine who's in control at the level (e.g. aggressive buyers vs. passive sellers) *this requires third-party software and a live data feed
- Enter long/short WITH institutional players, identified via Level 2 data
- Target areas/levels where the market may reverse
Best Timeframes
Works on any intraday timeframe, optimized for: 1m, 5m, 15m, 30m, 1H
Notes
- All times are in America/New_York (Eastern Time)
- Requires intraday timeframe to detect specific session times
- Lines are semi-transparent by default for better chart visibility
發行說明
OverviewDesigned for scalping and intraday trading on ES, NQ, and other futures markets that trade around the clock, this indicator automatically plots key support/resistance levels:
- Session opens
- Session highs
- Session lows
- Overnight highs
- Overnight lows
Session Definitions (America/New_York Time)
Session (18:00 - 16:59 ET)
- Tracks complete trading cycle
- Plots: High, Low
- Represents true daily extremes of each session
Overnight Session (18:00 - 9:30 ET)
- Captures Asian and European session price action
- Plots: Open, High, Low
- These levels can act as support/resistance during the NY session
NY Session (9:30 - 16:59 ET)
- Optional background highlight for regular trading hours
- Helps visually distinguish active NY session from overnight action
Key Features
Flexible Extension Modes
- Same Day: Lines end at session close
- Next Day: Lines extend through the following session
- Full Chart: Lines extend indefinitely to the right
Smart Line Management
- Optional extension of overnight levels through NY session
- Control how many historical sessions to display (1-250)
- Automatic cleanup of old lines
Full Customization
- Individual color control for each level
- Line style options (solid, dotted, dashed)
- Line width adjustment (1px-4px)
- Show/hide any level independently
Common Use Cases
- Support/Resistance
- Breakout/Break & Retest
Strategy
- Wait for price to reach a key level
- Use Level 2 data to determine who's in control at the level (e.g. aggressive buyers vs. passive sellers) *this requires third-party software and a live data feed
- Enter long/short WITH institutional players, identified via Level 2 data
- Target areas/levels where the market may reverse
Best Timeframes
Works on any intraday timeframe, optimized for: 1m, 5m, 15m, 30m, 1H
Notes
- All times are in America/New_York (Eastern Time)
- Requires intraday timeframe to detect specific session times
- Lines are semi-transparent by default for better chart visibility
Changelog
V 1.1
Updated overnight session calculation; now accurately plots overnight high and low on timeframes above 1m.
發行說明
V 1.1Updated overnight session calculation; now accurately plots overnight high and low on timeframes ab
發行說明
v1.2Updated session calculation; now accurately shows session high and low on timeframes above 1m.
發行說明
v1.3Added realtime overnight session high and low plotting.
發行說明
v1.3.1Updated indicator name for SEO.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。