OPEN-SOURCE SCRIPT
Simple Time Highlight

A lightweight session and time-window highlighting tool designed to visually mark important periods directly on your chart.
This indicator allows you to define up to 4 custom time windows, each with its own color and enable/disable toggle, making it easier to focus on key trading periods and recurring market behaviors.
Features:
• Highlight up to 4 independent time sessions
• Fully customizable session times and colors
• Adjustable time zone support
• Quickly visualize high-interest trading periods
• Clean background overlays with minimal chart clutter
• Works across different symbols and timeframes
Potential use cases:
• Mark London, New York, and Asia sessions
• Highlight market opens and closes
• Track high-volatility windows
• Identify personal trading hours
• Visualize recurring time-based patterns
• Monitor news or event periods
Default examples include:
• 5:00–8:15
• 9:30–10:30
• 16:00–18:00
• 00:00–03:00
Simple Time Highlight is intended as a lightweight visual tool that helps organize your chart around time-based behavior without adding complexity.
This indicator allows you to define up to 4 custom time windows, each with its own color and enable/disable toggle, making it easier to focus on key trading periods and recurring market behaviors.
Features:
• Highlight up to 4 independent time sessions
• Fully customizable session times and colors
• Adjustable time zone support
• Quickly visualize high-interest trading periods
• Clean background overlays with minimal chart clutter
• Works across different symbols and timeframes
Potential use cases:
• Mark London, New York, and Asia sessions
• Highlight market opens and closes
• Track high-volatility windows
• Identify personal trading hours
• Visualize recurring time-based patterns
• Monitor news or event periods
Default examples include:
• 5:00–8:15
• 9:30–10:30
• 16:00–18:00
• 00:00–03:00
Simple Time Highlight is intended as a lightweight visual tool that helps organize your chart around time-based behavior without adding complexity.
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.