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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.