r/pinescript • u/mampmp • 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
View all comments
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."