OPEN-SOURCE SCRIPT
Updated

Custom Time Session Background (Amsterdam Time, DST Safe)

226
This indicator highlights two custom intraday time ranges with background colors on your chart. The times are set based on your local Amsterdam time and automatically adjust for Daylight Saving Time (DST).

📌 Features:
- Define two separate time ranges (Start & End) in local Amsterdam time
- Background color highlighting for each range
- Fully DST-aware using the "Europe/Amsterdam" timezone
- Works across all intraday timeframes

🎯 Use Cases:
- Highlight key market sessions (e.g., EU open, NY overlap)
- Visually segment your trading hours
- Eliminate manual DST adjustments

Developed with Pine Script v5.

Made for traders who want clarity during specific time zones, without worrying about time shifts across the year.
Release Notes
Updated the hour inputs. You can now also use .25 / .5 / .75 so you can start the session at 15 / 30 / 45 mins.

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.