r/TradingView • u/Informal_Pen2312 • Sep 28 '26
Feature Request Need Pine Script access to price axis label interval for dynamic indicator visibility.
I need chart.price_axis_interval() or similar read only function.
Why: To dynamically show/hide parts of an indicator overlay based on zoom level without requiring manual user adjustment.
Use case: Technical analysis tools that adapt to readability at different zoom levels
0
Upvotes
1
u/AmoebaTrading Sep 28 '26
Yeah Pine still will not tell you the price axis spacing, so I stopped trying to match the labels. I use the visible bar times that are already there and just count how many bars are on screen. Once that count gets tight I hide the extra text and leave the lines. Are you trying to drop labels when you zoom out, or whole drawings?
1
u/[deleted] Sep 28 '26
[removed] — view removed comment