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
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.