How can I convert v3 scripts to v4?

You can convert v3 script to v4 using our conversion utility. First, you must open your saved v3 script in the Pine editor and press the “Convert to v4” button. 

If the conversion is successful, you’ll get the converted v4 code in the editor. Otherwise, you will see errors in the console under the editor explaining the reasons for the failure. 

You might see warnings from the converter in the console, even if the conversion is successful. They can be caused by some differences between v3 and v4 syntax. We recommend paying close attention to conversion warnings.

Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out