Pine Script v5 to v6 Upgrader

Paste a TradingView Pine Script v5 indicator, strategy or library and get clean Pine Script v6 code back, with a list of every change and why it was needed. Each upgrade costs 1 credit.

What changed in Pine Script v6

Boolean values can no longer be na, numbers are no longer silently treated as true or false, and and/or now stop evaluating as soon as the result is known. Some parameters, such as when on strategy orders and transp on plots, were removed.

Check the result

Add the upgraded script to a TradingView chart and compare it with the v5 version on the same symbol and timeframe. This tool does not give trading advice.

Pine Script to MQL converter · Learning Center · Pricing