indicator_toggle_visibility
Show, hide, or toggle TradingView indicator visibility by entity ID. Omit the visible flag to flip current state. Confirmation is based on reading the study back, not just setting it.
Instructions
Show, hide, or flip an indicator on the chart. Omit visible to toggle. Confirms the result by reading the study back rather than trusting setVisible().
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| visible | No | true to show, false to hide. OMIT to flip whatever the current state is. | |
| entity_id | Yes | Entity ID of the study (from chart_get_state) |