indicator_set_inputs
Update an attached indicator's parameters, such as length, source, or period, by supplying a study entity ID and JSON input overrides—no need to delete and re-add it.
Instructions
Programmatically override input values of an indicator entity (e.g., length, source, period, multiplier). WHEN TO USE: Call when fine-tuning parameters of an attached study without deleting and re-adding it. SIDE EFFECTS: STATE_MUTATING (Alters indicator configuration on chart). LIMITATIONS: Requires study entity ID and valid JSON inputs map.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | JSON string of input overrides, e.g. '{"length": 50, "source": "close"}'. Keys are input IDs, values are the new values. | |
| entity_id | Yes | Entity ID of the study (from chart_get_state) |