pine_integrity
Check TradingView Pine Script v5/v6 for structures that make backtests look better than live trading: future data (lookahead_on without offset), unconfirmed higher-timeframe values, signals drawn on past bars, realtime-only state, fill and cost assumptions, alerts on unconfirmed bars. Returns verdict, findings with line and rule, and what was not checked.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "pine_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Pine Script source |