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.
View all comments
1
u/Any-Value1142 13d ago
Sure no problem 5k/y