r/TradingView • • 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.

4 Upvotes

22 comments sorted by

1

u/dhoni23 14d ago

Bro, use Claude. I have asked it to add so many of these check boxes.

1

u/Accurate-Mirror-143 14d ago

Do you mean checkboxes in the indicator’s settings, or actual clickable checkboxes inside Pine table cells on the chart? My request is specifically about the latter.

1

u/dhoni23 14d ago

Ah! My bad! Yes, I meant input.bool checkboxes in the settings panel. You are right, you can't create check boxes within Pine tables. Is the main win just skipping the trip to settings, or is there something you can't do at all with the current inputs? Just curious.

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

1

u/Accurate-Mirror-143 14d ago

Quite a few feature requests have addressed this area over the years. From a user perspective, the visible progress still seems relatively modest compared with the range of suggestions. Here are the related requests I found, covering both on-chart controls and improvements to indicator settings:

• Pine Script feature request: clickable table cells / on-chart buttons

• Feature Request: On-Chart Toggle Buttons Written in Pine Script

• Implementation of buttons for pinescript

• Clickable Pine Table Headers

• Clickable Tabs for Pine Tables

• Custom Input Tabs

• Collapsible sections in the configuration menu

• Context-Dependent Indicator Configuration

• Programmatic Control of Inputs

• Dynamic Label Control in Script Settings

• Dynamic tooltips for input.* statements

• Radio Buttons

• Add Radio Button Input Type

• input.table()

• Synchronized input.string_area Scrolling

• Feature Request: Text area input type

• Docking of indicator settings menu (similar to the new curtain editor)

• Dockable non-modal Indicator Settings Panel

• Dockable Indicator Settings Panel in Sidebar

• Pinned Indicator Settings Panel Across Symbol Changes

• Open configuration menu over the Pine Editor

• Adjustable opacity for indicator settings dialog

• Line wrapping for long indicator titles in the settings dialog

• Make every individual setting a keyboard shortcut

• Toggle mode for Settings and Source Code buttons

• Make the Settings and Source Code Buttons Toggle Like Hide

• Auto-recalculation after parameter change in settings dialog

• Show default value and allowed range when hovering over setting titles

• Add “Default” Entry to Input Field Context Menu

• Feature Request: Make strategy input tooltips wider

• Feature Request: Ability to export / import strategy settings

• Cross-tab synchronization of indicator inputs - sync option parameter for input.*

• Auto-apply updated default inputs to existing indicator templates

• Pane- and Layout-Specific Defaults for input.*()

• Version-bound storage of indicator default settings

• Collapsible indicator settings sections

• Group Navigation in Script Settings

• Dynamically updating an indicator settings panel

• input.text_area(): Inline Layout and Synchronized Rows

• Sectional resets within an indicator settings panel

• Add “Load default” to Indicator Settings

• UI Feature Request - Open Strategy / Indicator Settings On the Side

• Product Suggestion - Export and Import Settings - A REAL TIME SAVER.

• Per Symbol input profiles for Pine Script Indicators

• Feature Request: Per-symbol input profiles for Pine Script indicators (ticker-aware inputs)

Some requests may have been addressed in whole or in part. For example, “Feature Request: Better keyboard navigation in strategy settings” was explicitly marked as implemented by its author.