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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน