Version & syntax patterns
Flags missing declarations, v6 migration issues, legacy namespace patterns, and other high-confidence structural problems.
Paste your TradingView Pine Script. Terrane checks structural errors, order paths, version problems, repainting and lookahead patterns, plus backtest assumptions—then separates what was actually detected from what needs semantic review.
Repeatable code checks before any AI interpretation.
Findings point back to the relevant source line when possible.
TradingView remains the authority on compilation and runtime behavior.
Terrane will never label a script “compiled” unless TradingView actually compiled it.
The tool is designed to narrow the failure surface before you start randomly rewriting code.
Flags missing declarations, v6 migration issues, legacy namespace patterns, and other high-confidence structural problems.
Checks whether a strategy can create orders, whether an explicit closing path exists, and whether script type matches order usage.
Reviews request.security(), lookahead patterns, tick recalculation, realtime-only branches, and other historical/live divergence risks.
Surfaces execution settings, missing costs, slippage assumptions, and conditions that can make a historical test less representative.
Static analysis can identify many common failure patterns, but only TradingView can compile and execute the exact script against its Pine runtime and chart data. Use the exact TradingView error message when you have one—it makes the deep review substantially more precise.