OPEN-SOURCE SCRIPT
Cập nhật 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
Phát hành các Ghi chú
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.
Phát hành các Ghi chú
V 1.1Updated overnight session calculation; now accurately plots overnight high and low on timeframes ab
Phát hành các Ghi chú
v1.2Updated session calculation; now accurately shows session high and low on timeframes above 1m.
Phát hành các Ghi chú
v1.3Added realtime overnight session high and low plotting.
Phát hành các Ghi chú
v1.3.1Updated indicator name for SEO.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.