I’ve written a custom Pine Script for TradingView but it refuses to compile because of a handful of syntax errors. The issues show up immediately during script compilation, and TradingView lists the exact error messages, which I will share with you as soon as we start. I need someone who knows Pine Script inside-out—preferably familiar with the latest v5 changes—to scan the code, correct the faulty lines, and return a version that compiles without warnings or errors. There’s no logic overhaul or performance tuning required; it’s purely about cleaning up the syntax so the indicator can be saved and applied to a chart. Once you send back the fixed script, I’ll compile it on my side to confirm it loads cleanly in TradingView. If it compiles without errors, the job is done.