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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.