OPEN-SOURCE SCRIPT
Updated

Zen_Bar_Count_v1

304
Bar Counting Indicator for TV

Thanks to Ali Moin-Afshari for the Inspiration
And Al Brooks for the training!

Highlights x number of bars.
Helpful to see the 15min chart on the 5min.

Enjoy
Release Notes
Simplifying Code
Release Notes
Update v1.1 – Custom Label Size Option Added
• Added input to choose label text size (auto, tiny, small, normal, large, huge)
• Improved bar count reset logic for daily sessions
• Code formatting cleaned up for easier customization

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.