Pine Script v2 to v6 Conversion

Job ID: 39858272

Budget: ₹600 – ₹1,500 INR

I have an existing Pine Script indicator written in version 2 that now throws compatibility warnings on TradingView. I simply need the code updated to version 6—no extra features, no redesign, just a faithful migration that preserves every calculation, plot and alert exactly as they work today.

Please refactor the script so it compiles under v6 and behaves identically on historical and live data. If any functions or syntax have been deprecated, translate them to their modern equivalents and keep the naming as consistent as possible for easy comparison.

Deliverable:
• A single, cleanly formatted .pine file in version 6 that I can paste into TradingView and save without errors or warnings.

I will provide the original v2 source as soon as we start.