OPEN-SOURCE SCRIPT
Multi-TF Candle Counter

This indicator counts candles starting from a specific date across up to 4 different timeframes at once. It's designed to help traders track market cycles and identify potential turning points using the Denizhan number sequence.
Key Features:
✅ Multi-Timeframe Support
Current chart timeframe
5-minute candles
15-minute candles
1-hour candles
✅ Smart Label Placement
Shows higher timeframe counts only on the first candle of that period
Example: On a 1-minute chart, the 5m counter only appears every 5 minutes
Prevents chart clutter while maintaining accuracy
✅ Number Sequence Highlighting
Automatically highlights special numbers: 1, 3, 7, 13, 21, 31, 43, 57, 73...
These numbers follow the pattern: n² - (n-1)
Special numbers appear in RED for easy identification
✅ Fully Customizable
Enable/disable each timeframe independently
Choose custom colors for each timeframe
Set label position (High, Low, Close, Open)
Single start/end date applies to all timeframes
Toggle special number highlighting on/off
How to Use:
Add to Chart: Apply the indicator to any chart
Set Date Range: Confirm the start and end dates (applies to all timeframes)
Enable Timeframes: Turn on the timeframes you want to track
Customize Colors: Set different colors for each timeframe to distinguish them
Watch for Red Numbers: Special Denizhan numbers appear in red as potential turning points
Use Cases:
Cycle Tracking: Monitor how many candles have passed since a significant event
Multi-Timeframe Analysis: See relationships between different timeframe counts
Pattern Recognition: Identify when multiple timeframes align at special numbers
Reversal Points: Watch for Denizhan numbers as potential support/resistance timing
Settings Overview:
Start Date (All TF)
End Date (All TF)
Each Timeframe Has:
Enable toggle
Text color
Label location
Special number highlighting
Note: This indicator works on any timeframe but is most effective on lower timeframes (1m, 5m, 15m) when tracking higher timeframe counts.
Key Features:
✅ Multi-Timeframe Support
Current chart timeframe
5-minute candles
15-minute candles
1-hour candles
✅ Smart Label Placement
Shows higher timeframe counts only on the first candle of that period
Example: On a 1-minute chart, the 5m counter only appears every 5 minutes
Prevents chart clutter while maintaining accuracy
✅ Number Sequence Highlighting
Automatically highlights special numbers: 1, 3, 7, 13, 21, 31, 43, 57, 73...
These numbers follow the pattern: n² - (n-1)
Special numbers appear in RED for easy identification
✅ Fully Customizable
Enable/disable each timeframe independently
Choose custom colors for each timeframe
Set label position (High, Low, Close, Open)
Single start/end date applies to all timeframes
Toggle special number highlighting on/off
How to Use:
Add to Chart: Apply the indicator to any chart
Set Date Range: Confirm the start and end dates (applies to all timeframes)
Enable Timeframes: Turn on the timeframes you want to track
Customize Colors: Set different colors for each timeframe to distinguish them
Watch for Red Numbers: Special Denizhan numbers appear in red as potential turning points
Use Cases:
Cycle Tracking: Monitor how many candles have passed since a significant event
Multi-Timeframe Analysis: See relationships between different timeframe counts
Pattern Recognition: Identify when multiple timeframes align at special numbers
Reversal Points: Watch for Denizhan numbers as potential support/resistance timing
Settings Overview:
Start Date (All TF)
End Date (All TF)
Each Timeframe Has:
Enable toggle
Text color
Label location
Special number highlighting
Note: This indicator works on any timeframe but is most effective on lower timeframes (1m, 5m, 15m) when tracking higher timeframe counts.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。