OPEN-SOURCE SCRIPT

HTF Candle Boxes for LTF Charts

Updated
snapshot

This indicator allows you to show an outline of a Higher Time Frame (HTF) candle on a Lower Time Frame (LTF) chart. Options include selecting the HTF interval, and an option to either show a single shaded Box for the candle (High to Low), or a shaded box for the body (Open to Close) with the High to Low shown in an unshaded box. The purpose is to easily visualise what the previous HTF candles look like as you are working on the lower charts, for example was yesterday's candle Bullish, Bearsish, indecision, a Doji etc.
Release Notes
Added the option to not paint the current HTF bar, default is not
Release Notes
This version cleans up the painting of the last candle as previously it would create multiple boxes on each new candle if in real-time.
Also added is the optional inclusion to show the Pip-Range of the HTF candle.
Release Notes
v4 10-Dec-23 - minor fix - occasionally the HTF box was paniting the wrong colour (for Doji-type Candles) because it was looking at the current candle rather than the last candle for that box.
candlesChart patternsHTFmultitimeframe

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer