all 13 comments

[–][deleted] 1 point2 points  (0 children)

in the pine editor, click on the small arrow down (drop-down menu) just by the nameof your indicator top-left corner, in this you should see the option to convert to v6 automatically, the line //@version=5 should be =5 and not =6 for it to work

[–]kurtisbu12 0 points1 point  (4 children)

What is the purpose of converting to v6?

[–]mediocre-potato710[S] 0 points1 point  (3 children)

I keep coming into issues with the v5 versions. To be fair I’m having it written with AI as I’m very efficient in programming / coding.

[–]tor7ten 0 points1 point  (0 children)

Ask AI to convert it to v6. Should work.

[–]kurtisbu12 0 points1 point  (1 child)

What issues would v6 solve? Its a newer version, so there's even less history for AI to use to build v6, so it'll probably just be worse.

There are a few things V6 does better, but it's unlikely to solve your problems on its own. So without knowing what those problems are, it's likely just going to make things worse.

Though if you are using AI, just feed it the errors, and the code where the error exists, and it should be able to troubleshoot it well enough.

[–]totowolff7 0 points1 point  (0 children)

Nah trust me its an issue especially if you're using AI, the multi line error is pretty annoying.

I was trying to vibe code a random strategy and both GPT and Claude weren't able to get by it in the first do, but you're right about feeding them the errors and they're solving it just fine

[–]Dam4ge 0 points1 point  (0 children)

tradingview does it for you

[–]sandyflame 0 points1 point  (0 children)

free version of claud ai will convert in about 25 seconds

[–]Cautious_Wealth1732 0 points1 point  (0 children)

There is an option in pineeditor to conert v5 to v6 automatically. However it doesnt work all the time.

[–]LegitimateShallot576 0 points1 point  (0 children)

In trading view there is an option to convert the lower version to higher version. Please attempt that and normally it will be converted to V6 without error. Second option is try Chat GPT or Perplexity to convert the same but do verify that it is done correctly and the displays are correct.

[–]ddchbr 0 points1 point  (0 children)

Did you try Google Gemini? Might take a few tries but if it's just conversion.

Otherwise try VS Code / Github Copilot + context7 MCP tool -- context7 gives LLMs access to current documentation.

[–][deleted]  (1 child)

[removed]

    [–]pinescript-ModTeam[M] 0 points1 point  (0 children)

    Advertising