Coffeehouse-Analytics

CH-I: Trend - Higher Timeframe Body

I took the script for the built-in indicator for candle bodies of a higher timeframe (www.tradingview.com/...-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.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?