OPEN-SOURCE SCRIPT
Session Lines

Session Lines is an intraday indicator that marks global trading sessions and their key levels. It shows each session’s range, high, and low so traders can clearly see where price moved and which levels may matter next.
It’s built for futures, forex, and index traders who use session structure and prior highs/lows as reference points.
Draws a box around each session’s price range
Fully customizable session names, times, timezones, and colors
Supports up to three sessions (commonly Tokyo, London, and New York)
Session Information (Optional)
Session range displayed in ticks
Average price for the session
Session name label inside the box
Session Open & Close
Optional dashed lines marking session open and close
Useful for tracking acceptance and rejection during the session
Session High & Low Levels
Live High / Low Tracking
Tracks the session high and low as price develops
Lines update in real time during the session
Extended High / Low Lines
After a session ends, its high and low can be extended forward
Extension length is adjustable in days
Helps identify common reaction and liquidity levels
High / Low Labels
Optional labels for each session’s high and low
Can be shown live or only after the session finishes
Adjustable text size and horizontal offset
Intended Use
Marking Asia, London, and New York ranges
Watching reactions to prior session highs and lows
Using session ranges as context for breakouts or reversals
Keeping key intraday levels on the chart without manual drawing
It’s built for futures, forex, and index traders who use session structure and prior highs/lows as reference points.
Draws a box around each session’s price range
Fully customizable session names, times, timezones, and colors
Supports up to three sessions (commonly Tokyo, London, and New York)
Session Information (Optional)
Session range displayed in ticks
Average price for the session
Session name label inside the box
Session Open & Close
Optional dashed lines marking session open and close
Useful for tracking acceptance and rejection during the session
Session High & Low Levels
Live High / Low Tracking
Tracks the session high and low as price develops
Lines update in real time during the session
Extended High / Low Lines
After a session ends, its high and low can be extended forward
Extension length is adjustable in days
Helps identify common reaction and liquidity levels
High / Low Labels
Optional labels for each session’s high and low
Can be shown live or only after the session finishes
Adjustable text size and horizontal offset
Intended Use
Marking Asia, London, and New York ranges
Watching reactions to prior session highs and lows
Using session ranges as context for breakouts or reversals
Keeping key intraday levels on the chart without manual drawing
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。