generate_pinescript
Generates TradingView Pine Script v6 from a strategy ID. Returns the script and identifier for backtesting and deployment.
Instructions
Generate TradingView Pine Script v6 for a strategy. Returns {strategy_id, pinescript}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_id | Yes | ||
| with_webhook | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | Yes |