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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.