OPEN-SOURCE SCRIPT

RTH Session Bar Counter EU/US/Asia v.2.2

116
Added a "Label every N bars" setting (1–20) to extend how far back into history the bar numbers are visible. TradingView caps any script at 500 labels total, so on busy timeframes numbers eventually ran out while background shading didn't — raising N now lets you trade granularity for historical reach (e.g. every 2nd bar roughly doubles the visible range, every 3rd roughly triples it).
Regardless of the setting, the first bar of every session, every hour-end bar, and your special marked bar (if enabled) are always numbered and never thinned out.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.