OPEN-SOURCE SCRIPT
$ - Boxes +

$ – Boxes +
A higher timeframe candle tool that outlines each HTF candle directly on your lower timeframe chart. Instead of flipping between timeframes, you can see the range, body and midpoint of the 1H, 4H or daily candle while executing on the 1m or 5m. The previous candle's high and low can also be carried forward as live levels, making it easy to frame reversals and continuations off the last HTF range.
HTF Candle Boxes
Current HTF Candle
The HTF candle still in progress is projected across its full time period, so you can see exactly where it will close. The box expands in real time as new highs and lows print, and the body updates with the live close.
Body & Midline
Line Settings
Range Labels
Box Fill Colours
Separate fill colours for bullish and bearish HTF candles. Fills are transparent by default, so boxes show as outlines only until a colour is chosen.
How to Use
Apply to a chart on a lower timeframe than the one set in Time Interval. For example, set the interval to 1H and view a 5m chart to see each hourly candle outlined over its 5m bars.
A higher timeframe candle tool that outlines each HTF candle directly on your lower timeframe chart. Instead of flipping between timeframes, you can see the range, body and midpoint of the 1H, 4H or daily candle while executing on the 1m or 5m. The previous candle's high and low can also be carried forward as live levels, making it easy to frame reversals and continuations off the last HTF range.
HTF Candle Boxes
- Time Interval – choose any higher timeframe to outline (1H by default).
- Number of Boxes – show the last 1, 2 or 3 completed HTF candles, or Show All for the full chart history.
- Box styling – adjustable border width, style (solid / dashed / dotted) and colour.
Current HTF Candle
The HTF candle still in progress is projected across its full time period, so you can see exactly where it will close. The box expands in real time as new highs and lows print, and the body updates with the live close.
Body & Midline
- Include Body – draws the open-to-close body inside each box, coloured bullish or bearish, so each HTF candle reads the same as it would on its own timeframe.
- Show MidLine – marks the 50% level of each candle's range, useful for framing premium and discount within the candle.
Line Settings
- Hide Side Lines – removes the vertical edges, leaving the high and low as clean horizontal levels. Required for the options below.
- Extend Lines to Current Candle – carries the previous HTF candle's high and low forward to price, stopping each line at the candle that closes through it.
- Extend Lines 10 Candles Ahead – projects the previous high and low 10 bars past the current candle, keeping the levels visible in the space ahead of price. Takes priority over Extend to Current.
- Draw Lines from Exact Candle – starts each high and low line from the exact lower timeframe bar that printed it, rather than the start of the HTF candle.
Range Labels
- Show H/L Range Pips – displays each HTF candle's high-to-low range above its box.
- Show O/C Pips – adds the body size and the percentage of the range the body makes up, e.g. 12.4 / 30.1 = 41%.
- Values are measured in pips on forex pairs and in price points on all other markets.
Box Fill Colours
Separate fill colours for bullish and bearish HTF candles. Fills are transparent by default, so boxes show as outlines only until a colour is chosen.
How to Use
Apply to a chart on a lower timeframe than the one set in Time Interval. For example, set the interval to 1H and view a 5m chart to see each hourly candle outlined over its 5m bars.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。