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:
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.