pine_compile
Compile the current Pine Editor script to add or update an indicator or strategy on the TradingView chart canvas. Use after editing source code; editor must be open with code loaded.
Instructions
Trigger compilation ("Add to Chart" or "Save & Update") for the script currently in the Pine Editor. WHEN TO USE: Call after setting source code to apply the indicator or strategy to the chart canvas. SIDE EFFECTS: STATE_MUTATING (Attaches or updates study/strategy on chart canvas). LIMITATIONS: Pine Editor must be open with code loaded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pine_compile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||