OPEN-SOURCE SCRIPT
HTF Candle Hourly Display

**IMPORTANT:** For best visual results, move the indicator to the FIRST position in Object Tree:
- Right-click on chart → Object Tree
- Drag "Hour Display" to the top (first position above candles)
- This ensures hour labels display cleanly behind candlesticks
HOW TO USE:
1. Add to your H1 or higher timeframe chart
2. Adjust UTC offset to match current time (use 0 or 1 - try both to see which matches)
3. Customize text colors for bullish/bearish candles as needed
4. Enable/disable daily separator at 18:00 based on preference
SETTINGS:
• UTC Offset: Use 0 or 1 to match your current time. The correct value changes throughout the year due to daylight saving time (e.g., January may need 1, July may need 0). Simply try both values and use the one that displays correctly.
• Bullish Candle Text Color: Color for labels on up candles (default: black)
• Bearish Candle Text Color: Color for labels on down candles (default: white)
• Show Daily Separator: Toggle 18:00 vertical line on/off
• Daily Separator Color: Customize separator line color
IMPORTANT: This indicator only works on H1 (1-hour) and higher timeframes. A warning will display if used on lower timeframes.
- Right-click on chart → Object Tree
- Drag "Hour Display" to the top (first position above candles)
- This ensures hour labels display cleanly behind candlesticks
HOW TO USE:
1. Add to your H1 or higher timeframe chart
2. Adjust UTC offset to match current time (use 0 or 1 - try both to see which matches)
3. Customize text colors for bullish/bearish candles as needed
4. Enable/disable daily separator at 18:00 based on preference
SETTINGS:
• UTC Offset: Use 0 or 1 to match your current time. The correct value changes throughout the year due to daylight saving time (e.g., January may need 1, July may need 0). Simply try both values and use the one that displays correctly.
• Bullish Candle Text Color: Color for labels on up candles (default: black)
• Bearish Candle Text Color: Color for labels on down candles (default: white)
• Show Daily Separator: Toggle 18:00 vertical line on/off
• Daily Separator Color: Customize separator line color
IMPORTANT: This indicator only works on H1 (1-hour) and higher timeframes. A warning will display if used on lower timeframes.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。