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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.