pine_check
Validate Pine Script code by compiling via TradingView's server API to catch errors and warnings before chart injection, ensuring code correctness without needing the chart open.
Instructions
Compile Pine Script via TradingView's server API without needing the chart open. Returns compilation errors/warnings. Useful for validating code before injecting into the chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Pine Script source code to compile/validate |