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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。