Convert PineScript Versions
Version 4
If you are on Version 4, select the “More” icon (∘∘∘) in the Pine Editor → click on “Convert to v5”.
Click “Save” to save the actions you just made.
Version 3
If you are using PineScript Version 3, select the “More” icon (∘∘∘) in the Pine Editor → click on “Convert to v4”.
Once you are on Version 4, select the “More” icon (∘∘∘) in the Pine Editor → click on “Convert to v5”.
Click “Save” to save the actions you just made.
Version 2, 1 or unlabelled
If your script is using Unlabelled or running on Version 1 or 2, you may have to convert the code to v5 manually. If you are unable to do so, you may choose to seek a freelancer to assist you. It may cost around $20-$200 and take about 1-3 days, depending on the length and complexity of your script.