OPEN-SOURCE SCRIPT
ICT Session Candle Counter

ICT Session Candle Counter
Counts and displays the number of candles from the start of each trading session and ICT killzone directly on the chart. Each candle is labeled with its sequential number within the active session, making it easy to track session progress and identify key candle counts at a glance.
Sessions & Hours (preset to make things easier)
Session Hours and Timezone
Tokyo (TSE): 09:00 – 15:25 [Asia/Tokyo (JST)]
London (LSE): 08:00 – 16:30 [Europe/London (GMT/BST)]
New York (NYSE): 09:30 – 16:00 [America/New_York (EST/EDT)]
Killzone Hours and Timezone
Tokyo KZ: 09:00 – 12:00 [Asia/Tokyo (JST)]
London KZ: 07:00 – 10:00 [Europe/London (GMT/BST)]
New York KZ: 08:00 – 11:00 [America/New_York (EST/EDT)]
Session hours sourced from tradinghours.com. Timezones auto-adjust for DST where applicable.
Features
Recommended use
Best suited for intraday timeframes (1m – 1h). Note: Pine Script limits labels to 500 per indicator — on very low timeframes with all sessions enabled, the oldest labels may be removed automatically.
Counts and displays the number of candles from the start of each trading session and ICT killzone directly on the chart. Each candle is labeled with its sequential number within the active session, making it easy to track session progress and identify key candle counts at a glance.
Sessions & Hours (preset to make things easier)
Session Hours and Timezone
Tokyo (TSE): 09:00 – 15:25 [Asia/Tokyo (JST)]
London (LSE): 08:00 – 16:30 [Europe/London (GMT/BST)]
New York (NYSE): 09:30 – 16:00 [America/New_York (EST/EDT)]
Killzone Hours and Timezone
Tokyo KZ: 09:00 – 12:00 [Asia/Tokyo (JST)]
London KZ: 07:00 – 10:00 [Europe/London (GMT/BST)]
New York KZ: 08:00 – 11:00 [America/New_York (EST/EDT)]
Session hours sourced from tradinghours.com. Timezones auto-adjust for DST where applicable.
Features
- Sequential candle count labels on each bar for all 3 sessions and 3 ICT killzones
- Display Mode: show counts for all sessions on the chart or only the most recent one (Last Only)
- Trim Overlaps: automatically stops plotting the earlier session's count when the next session begins (Tokyo → London → New York), preventing overlapping labels
- Per session/killzone configurable label position (Above Bar / Below Bar), text size (tiny to huge), and text color
- Individual visibility toggles for each session and killzone
Recommended use
Best suited for intraday timeframes (1m – 1h). Note: Pine Script limits labels to 500 per indicator — on very low timeframes with all sessions enabled, the oldest labels may be removed automatically.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。