pine_set_source
Set Pine Script source code in theView editor. Requires confirmation to overwrite existing content, reading current source with pine_source first.
Instructions
Set Pine Script source code in the editor. Refuses to overwrite a buffer holding real content unless confirm_overwrite is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Pine Script source code to inject | |
| confirm_overwrite | No | Required when the editor already holds real content. Read it with pine_get_source first. |