OPEN-SOURCE SCRIPT
Cập nhật Multi-Session Marker

Multi-Session Marker is a flexible visual tool for traders who want to highlight up to 10 custom trading sessions directly on their chart’s background.
How to use:
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus and analysis.
- Custom Sessions: Enter up to 10 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
- Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
- Universal Time Handling: Session times automatically follow your chart’s time zone—no manual adjustment required.
- Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
- Clean Interface: All session controls are grouped for easy editing in the indicator’s settings panel.
How to use:
- In the indicator settings, enter your desired session times (e.g., 0930-1130) for each session you want to highlight.
- Toggle “Show Session” and pick a color for each session.
- The background will automatically highlight those periods on your chart.
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus and analysis.
Phát hành các Ghi chú
Multi-Session Marker is a powerful and flexible tool for visually highlighting up to 15 custom trading sessions directly on your TradingView chart’s background.Key Features:
- Up to 15 Custom Sessions: Enter up to 15 time ranges (in HHMM-HHMM format) to mark any market session, news window, or personal focus period.
- Single Time Zone Control: Choose your preferred time zone once in the indicator settings. All session highlights will follow this selection, ensuring accuracy and eliminating confusion—no matter where you are in the world.
- Visual Clarity: For each session, toggle the highlight on or off and select a unique background color and opacity, making it easy to distinguish active trading windows at a glance.
- Universal Time Handling: Supports a comprehensive list of global time zones (including automatic daylight saving adjustment for zones like "America/New_York").
- Match the indicator’s time zone to your chart’s time zone for perfect alignment.
- Efficient and Fast: Utilizes TradingView’s bgcolor() for smooth performance, even on fast timeframes like 1-second charts.
- Clean, Organized Interface: All session controls are grouped and labeled for easy editing in the indicator’s settings panel.
How to Use:
- In the indicator settings, select your desired time zone from the dropdown (match this to your chart’s time zone for best results).
- For each session (up to 15), enter your desired session time (e.g., 0930-1130), toggle “Show Session” on or off, and pick a highlight color.
- The background will automatically highlight those periods on your chart, using your chosen time zone.
Who Is This For?
This indicator is ideal for day traders, futures traders, or anyone who wants to visually segment their trading day for better focus, session-based strategies, or news/event tracking.
Updates: Increased from 10-15 session slots. Time zones are available to choose from a dropdown menu.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.