OPEN-SOURCE SCRIPT
Cập nhật HTF Candle Overlay (Boxes + Wicks) 1hr / Solal

Description:
This indicator lets you visualize higher time frame (HTF) candles directly on a lower time frame chart.
It draws each HTF candle as a transparent box (the body) with wicks extending to the high and low. The boxes automatically update as each higher time frame candle forms and remain fixed once the candle closes.
You can choose any higher time frame (e.g., 1H, 4H, 1D) while trading on lower intervals (like 1m, 5m, 15m) to see key market structure and price zones.
Features:
Display candles from any higher time frame on your current chart.
Customizable colors for bullish and bearish candles.
Adjustable transparency, border and wick thickness.
History depth setting to control how many past HTF candles are displayed.
No repainting — candles stay fixed once closed.
Use case:
Ideal for traders who want to monitor higher time frame price action (support/resistance, trend direction) without switching chart time frames.
This indicator lets you visualize higher time frame (HTF) candles directly on a lower time frame chart.
It draws each HTF candle as a transparent box (the body) with wicks extending to the high and low. The boxes automatically update as each higher time frame candle forms and remain fixed once the candle closes.
You can choose any higher time frame (e.g., 1H, 4H, 1D) while trading on lower intervals (like 1m, 5m, 15m) to see key market structure and price zones.
Features:
Display candles from any higher time frame on your current chart.
Customizable colors for bullish and bearish candles.
Adjustable transparency, border and wick thickness.
History depth setting to control how many past HTF candles are displayed.
No repainting — candles stay fixed once closed.
Use case:
Ideal for traders who want to monitor higher time frame price action (support/resistance, trend direction) without switching chart time frames.
Phát hành các Ghi chú
✅ Effect of these changesPreviously, wicks always had one fixed color for all candles.
Now, bullish candles’ wicks automatically use the bullish wick color, and bearish candles’ wicks use the bearish wick color.
Users can customize these two wick colors independently in the indicator settings.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.