Downloading...
OPEN-SOURCE SCRIPT

Session Color Blocks

261
🧠 Purpose:
To visually highlight different market sessions — Asia, London, Premarket (US), and New York — using colored background blocks on the chart for better timing, context, and trade planning.

🕓 Session Times Used (Eastern Time / New York Time):
Session Time (ET) Color
Asia 8:00 PM – 3:00 AM 🟨 Yellow
London 3:00 AM – 8:30 AM 🟥 Red
Premarket 8:30 AM – 9:30 AM 🟦 Blue
New York 9:30 AM – 4:00 PM 🟩 Green
(DST is automatically handled via "America/New_York" timezone)

✅ Features:
Session colors appear only when that session is active.

Sessions are mutually exclusive, so no overlapping blocks.

Works on any symbol, especially useful for US stock/futures traders.

Auto-adjusts for daylight savings (using TradingView's IANA timezones).

🔧 Future Enhancements (Optional):
Toggle each session on/off

Add vertical lines or labels for session opens

Extend to weekends or custom sessions

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.