OPEN-SOURCE SCRIPT

CH-I: Trend - Higher Timeframe Body

Updated
I took the script for the built-in indicator for candle bodies of a higher timeframe (tradingview.com/support/solutions/43000502591-multi-time-period-charts/) which has a fixed border width and style and added the possibility to customize both the border width and the border style or to even disable the display of any border at all, which makes the presentation of those boxes more flexible.
Release Notes
Added the possibility to choose the calculation method of the body of the bars either from the High/Low values (as existent) or in addition from the Open/Close values of the higher timeframe. If calculated from the Open/Close values, the High/Low values can additionally be shown as wicks.

This way, also a complete OHLC candle presentation of the higher timeframe is being achieved.
BARSCandlestick Analysisheikin-ashihighertimeframetruerange

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