OPEN-SOURCE SCRIPT
Candle Color [AY¹]

Visually highlight specific time periods with custom colors on intraday charts.
Ideal for session-based traders who want to emphasize New York, London or any custom trading hours. Developed by AY¹
Candle Color Highlighter [AY¹]
A simple yet powerful intraday visualization tool that colors candles or chart background during your chosen trading sessions.
Perfect for traders who rely on time-based confluences — such as ICT, SMC, or session scalping frameworks.
🔧 Key Features
✅ Highlight up to four custom time periods (e.g. London Open, NY Open, Lunch Hour, etc.)
✅ Supports multiple highlight styles:
• Bar Color only
• Background only
• Both
✅ Full timezone control (Exchange, UTC, New York, London, Tokyo, or custom UTC+3)
✅ Works on all intraday timeframes or only those you select (1m–4h).
✅ Optional labels marking session starts.
✅ Integrated alerts when any period becomes active.
✅ Informative status table showing timezone, timeframe, and active period.
🕒 Use Cases
Highlight New York Killzone (07:30–09:30) or London Open (02:00–03:00)
Separate different liquidity windows
Emphasize your backtest periods
Combine with volume, displacement, or structure indicators for time-based confluence setups
🎨 Customization
Each of the four configurable periods allows you to choose:
Start/End time
Custom color and transparency
Session label visibility
Highlight style preference
💡 Example Setup
Period Session Time Color Notes
Period 1 02:00–03:00 Magenta London Killzone
Period 2 07:30–08:30 Yellow NY Pre-market
Period 3 08:30–09:30 Blue NY Open
Period 4 09:30–10:00 Green Initial Balance
Ideal for session-based traders who want to emphasize New York, London or any custom trading hours. Developed by AY¹
Candle Color Highlighter [AY¹]
A simple yet powerful intraday visualization tool that colors candles or chart background during your chosen trading sessions.
Perfect for traders who rely on time-based confluences — such as ICT, SMC, or session scalping frameworks.
🔧 Key Features
✅ Highlight up to four custom time periods (e.g. London Open, NY Open, Lunch Hour, etc.)
✅ Supports multiple highlight styles:
• Bar Color only
• Background only
• Both
✅ Full timezone control (Exchange, UTC, New York, London, Tokyo, or custom UTC+3)
✅ Works on all intraday timeframes or only those you select (1m–4h).
✅ Optional labels marking session starts.
✅ Integrated alerts when any period becomes active.
✅ Informative status table showing timezone, timeframe, and active period.
🕒 Use Cases
Highlight New York Killzone (07:30–09:30) or London Open (02:00–03:00)
Separate different liquidity windows
Emphasize your backtest periods
Combine with volume, displacement, or structure indicators for time-based confluence setups
🎨 Customization
Each of the four configurable periods allows you to choose:
Start/End time
Custom color and transparency
Session label visibility
Highlight style preference
💡 Example Setup
Period Session Time Color Notes
Period 1 02:00–03:00 Magenta London Killzone
Period 2 07:30–08:30 Yellow NY Pre-market
Period 3 08:30–09:30 Blue NY Open
Period 4 09:30–10:00 Green Initial Balance
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.