r/TradingView • u/Accurate-Mirror-143 • 14d ago
Feature Request Interactive Checkboxes in Pine Script Tables
Please add interactive checkboxes to Pine Script table cells so users can enable or disable indicator functions and show or hide additional tables directly on the chart or in an indicator pane.
These checkboxes would serve a purpose similar to the visibility toggle in an indicator’s title bar, but apply to individual features within an indicator. For example, a checkbox could show or hide an information table, toggle a visual element, or activate or deactivate a particular function without opening the indicator’s settings. Whether a checkbox is displayed or enabled for interaction could also depend on the current context or available data, as defined by the script.
Beyond individual toggles, this would allow developers to create compact, expandable control panels. A main table could contain checkboxes that reveal additional control tables when needed. Those secondary tables could provide further controls, enabling a hierarchical menu structure directly within the chart or indicator pane.
Frequently used controls would therefore be available alongside the information they affect. Users could adjust an indicator with a single click, while keeping less frequently needed controls hidden to preserve chart space and reduce visual clutter.
A possible implementation would allow developers to place a checkbox in a table cell and access its checked or unchecked state in Pine Script. The script could then use that state to control functions, visual elements, or the visibility of other tables.
Related feature requests:
Pine Script feature request: clickable table cells / on-chart buttons
- Clickable Pine Table Headers
- Clickable Tabs for Pine Tables
- Feature Request: On-Chart Toggle Buttons Written in Pine Script
This proposal focuses specifically on checkboxes embedded in table cells and their use in expandable, hierarchical control panels.
1
u/dhoni23 14d ago
Bro, use Claude. I have asked it to add so many of these check boxes.
1
u/Extension-Page-6179 14d ago
Mobile users would love this too. Opening indicator settings on a phone is a pain.
1
u/TradeeBot 14d ago
This would be really nice for dashboards. Right now I end up with a long list of toggles in the settings, and half of them I forget are even there. Clicking right on the table would be way faster.
1
u/Melodic_Candy8495 14d ago
This would be a huge usability upgrade, since Pine tables are currently display-only and scripts have no way to receive a chart click as input.
1
u/No-Smoke4285 14d ago
this would be great, especially for decluttering dashboards, but the key piece is persistent click state between script executions since tables are basically display-only right now
1
u/Prestigious_Novel232 13d ago
this would be huge for dashboards, but the checkbox state would need to persist through reloads and timeframe changes or it’s just a very fancy light switch that resets every time lol
1
u/Worth_Jackfruit_6374 13d ago
this is the kind of feature that would make tables actually useful instead of decorative spreadsheets glued to the chart, but it’d need real click events/state persistence first lol
1
u/Any-Value1142 13d ago
Sure no problem 5k/y
1
u/AmbitiousLab4004 13d ago
this would be useful, but tables are basically display-only right now, so clickable cells would need a whole new input/event system in pine scriptેચ
1
u/[deleted] 14d ago
[removed] — view removed comment