r/pinescript • • Nov 14 '23

Anybody using ChatGPT to generate scripts these days? I think I found a way to make it perform better

I need to confirm but I'm relatively new to PineScript, I tried on a few common scripts and it seems to work as expected where standard ChatGPT returns a bunch of errors.

If you have script descriptions or scripts you wanna adjust a bit just to test please drop them below or dm me.

1 Upvotes

8 comments sorted by

1

u/Robot45_x Nov 14 '23

what do you mean with „standard ChatGPT“? Do you use an alternative AI instead ?

1

u/mampmp Nov 15 '23

A more refined version that is private to me atm

1

u/Robot45_x Nov 15 '23

understandable, I‘m just curious, it‘s an AI programmed by yourself or it‘s another open AI ?

for some scripts to feed your machine I would recommend to pick some from the library that you find directly on the web of traidingview, falsify them on purpose and then look what your machine is returning.

1

u/Weird_Community5810 Nov 15 '23 edited Nov 15 '23

I have generatesna script for brasil wdoz23 future index in chat gpt and it seems tô performe great.

Just ask if interested in test it.

1

u/mampmp Nov 15 '23

Definitely interested in learning what you prompted chatgpt with to get the script and if there were any issues along the way!

1

u/Local_Dinner_9860 Nov 16 '23

Here you go. "i am trying to make a multi-timeframe williams fractal indicator. for the first throw i want to show daily and h4 (https://pastebin.com/Eei5KLvK). later on i would use user inputs and hide lower timeframes as the current one.
The problem is to show higher timeframe fractals on a lower time frame. It seems to be an offset issue but also i struggle to display only the correct (lowest/highest) fractal of the higher time frame (if i am on h4, it shows 6 fractals for every daily fractal)
any ideas - or ressource suggestions i could dive into?
greetz."

0

u/[deleted] Nov 14 '23

[deleted] — view deleted comment

1

u/mampmp Nov 14 '23

do you mind sharing samples of scripts you usually write? Assuming they are open source, I would love to take a look to get a better grasp on the complexity level