OPEN-SOURCE SCRIPT
Candle Countdown Timer

A simple chart-based timer designed to help traders stay aware of upcoming candle closes.
Trading Timer provides a real-time countdown to the next candle close directly on your chart, helping you prepare for timeframe changes, review setups, and maintain a consistent trading routine.
Built for discretionary traders who rely on candle closes as important decision points, the indicator provides a clean visual countdown, optional alerts, and a compact dashboard that stays out of the way of your analysis.
---
Features
✓ Real-time candle close countdown
✓ Customisable timeframe selection
✓ Alerts before candle close
✓ Automatic symbol recognition
✓ Mobile notifications through TradingView alerts
✓ Compact dashboard display
✓ Minimal mode for a cleaner workspace
✓ Colour-coded timing zones:
Countdown Phases:
🔵Dark grey — waiting
🟡Yellow — approaching close
🔴Red — final minute
---
Alert Setup
To receive notifications, create a TradingView alert after adding Trading Timer to your chart.
Recommended setup:
The alert is linked to the chart where it was created. If you want alerts for multiple markets (for example Gold and NAS100), create a separate alert for each chart.
For mobile notifications, make sure TradingView app notifications are enabled on your device.
Example Setup:
For a 15-minute trading setup, set the indicator to 15 minutes and choose your preferred warning time (for example, 1 minute before close)."
The timer keeps you informed so you can focus on the chart instead of watching the clock!
---
Intended Use
Trading Timer is a timing and workflow tool. It does not provide trade signals, entries, exits, or predictions.
It is designed to help traders:
Suitable for markets including forex, futures, indices, commodities, stocks, and crypto.
---
How it looks on the charts:

Compact Dashboard Display:

Trading Timer provides a real-time countdown to the next candle close directly on your chart, helping you prepare for timeframe changes, review setups, and maintain a consistent trading routine.
Built for discretionary traders who rely on candle closes as important decision points, the indicator provides a clean visual countdown, optional alerts, and a compact dashboard that stays out of the way of your analysis.
---
Features
✓ Real-time candle close countdown
✓ Customisable timeframe selection
✓ Alerts before candle close
✓ Automatic symbol recognition
✓ Mobile notifications through TradingView alerts
✓ Compact dashboard display
✓ Minimal mode for a cleaner workspace
✓ Colour-coded timing zones:
Countdown Phases:
🔵Dark grey — waiting
🟡Yellow — approaching close
🔴Red — final minute
---
Alert Setup
To receive notifications, create a TradingView alert after adding Trading Timer to your chart.
Recommended setup:
- Add Trading Timer to your preferred chart timeframe (for example, 15 minutes).
- Open TradingView's Alert menu.
- Under Condition, select:
- Trading Timer → Any alert() function call
- Choose your preferred notification options
- Create the alert.
The alert is linked to the chart where it was created. If you want alerts for multiple markets (for example Gold and NAS100), create a separate alert for each chart.
For mobile notifications, make sure TradingView app notifications are enabled on your device.
Example Setup:
For a 15-minute trading setup, set the indicator to 15 minutes and choose your preferred warning time (for example, 1 minute before close)."
The timer keeps you informed so you can focus on the chart instead of watching the clock!
---
Intended Use
Trading Timer is a timing and workflow tool. It does not provide trade signals, entries, exits, or predictions.
It is designed to help traders:
- Prepare before candle closes
- Review setups at consistent intervals
- Manage multi-timeframe workflows
- Stay disciplined with candle-based analysis
Suitable for markets including forex, futures, indices, commodities, stocks, and crypto.
---
How it looks on the charts:
Compact Dashboard Display:
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。