OPEN-SOURCE SCRIPT
Market Opening & Closing Times

This indicator highlights the opening and closing times of major global markets (NYSE, LSE, Tokyo) on any chart timeframe. Users can toggle the display of lines and labels, and customize colors per market.
Features:
Features:
- Toggle each market’s Open/Close separately
- Global toggles: Show/Hide all lines or labels
- Customizable colors for NYSE, LSE, and Tokyo markers
- Accurate event detection using timezone-aware timestamp checks within each bar
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.