OPEN-SOURCE SCRIPT

Session Color Blocks

323
🧠 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

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.