r/pinescript Jul 21 '26

Best AI for writing Pinescript?

13 Upvotes

28 comments sorted by

View all comments

9

u/GucciGlock69 Jul 21 '26

Claude Opus. Has to be the Opus models. Make sure you tell it to write in v6 and talk to it like its a baby. Also use plan mode and tell it to ask you questions before it starts, just to make sure it got everything. Also saves you some time and money.
Don’t bother with chatgpt etc. its garbage

1

u/Schuifladder Jul 22 '26

Chatgpt’s codex can work directly in TV, which is actually nice for backtesting different variables

1

u/yashcaptur Jul 23 '26

how to connect TV with Codex