OPEN-SOURCE SCRIPT

Rangebar time

This indicator determines the time (in minutes) for which a bar of the Range Bar type was formed.
In order to avoid errors in the calculations, a weekend check is immediately carried out (one day if it is a holiday or two days if it is a weekend).
If there are more days off, then the information on the first bar after the weekend may be incorrect.

Индикатор определяет время (в минутах), за которое образовался бар типа RangeBar.
Cразу идет проверка на выходные дни (один день, если праздник или два дня, если выходные).
Если выходных больше, то информация на 1-ом баре, после выходных может быть некорректна.
Candlestick analysismultitimeframeoptionsrangebarrangebarcandlesTIME

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