pine_analyze
Detects Pine Script errors like array out-of-bounds, unguarded array.first()/last(), bad loop bounds, and implicit bool casts before compiling. Works offline, no TradingView connection needed.
Instructions
Run static analysis on Pine Script code WITHOUT compiling — catches array out-of-bounds, unguarded array.first()/last(), bad loop bounds, and implicit bool casts. Works offline, no TradingView connection needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Pine Script source code to analyze |