ChatGPT can Code! Let's Have it Write a TradingView Pine Script! #tradingview #chatgpt

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Hello friends welcome back to viral ML and to um crypto meanderings in this video we're going to talk about chat GPT it's phenomenal came out last week took the Internet by storm and deservingly so it's just phenomenal it's actually not brand new it's been around for a few years under um it's kind of a wrapper on their main model they've been working at it for a while called gpt3 uh they kind of added a UI to it and this one apparently is optimized for dialogue but it's still phenomenal I have it open here here it is and it can code this is what we're going to talk about in this video here I asked it to do a python script that would do a full fractal loop I love those fractals I did it it's it it did I didn't I just copied that code put it in as long as you have the turtle Library it worked which is phenomenal but here we are more interested about um Pine scripting because a guy on Twitter said hey um you can do pine scripts and I was like what and I apologize I don't remember who it was uh but I'm like okay let's try this so that's what we're going to try right now I haven't tried it but we're going to try it together so um I've tried the python and it works really well and we'll talk a bit about some caveats some things to to keep in mind but let's say um uh write me a script a pine script that alerts me um as it is that that draws a 50ma and alerts meet uh whenever the price uh goes above the 50ma something along those lines and you hit return all you need is account right chat GPT it's free so far um keep in mind that the same people who are doing um here it is it's coming look at that it just wrote it yeah this should work we're going to put it in um it's it's free um so far but keep in mind that the same people who made daily E2 model and I think it started as free or it has free credits but eventually you want more you got to pay uh so I I assume um the entire world right now is trying to access this so if you sign up for an account at open AI it may take a while you may not get on immediately uh yada yada I've heard people getting in instantly others that just cannot get on it's because everybody else wants it and I I suspect eventually this will be a pay model eventually uh I'm suspecting that I know that their original API uh with which you can um use gpt3 was very expensive uh it was like you know two cents for like a thousand words process to the model so it got expensive this is really a treat to be able to play around with this for free and my advice to you is try it while it's free because it's not going to be free forever so now we're gonna copy the code input Commons I love the script will draw a 50-day moving average and alert you whenever the price goes above the 50-day moving average right this is way better than I wrote it oh I love it uh so we go here right I'm in trading view again it's free get yourself an account good tool um I'm gonna open the pine editor and I'm going to create a new one so open a new indicator and I'm simply going to um this is interesting it is version five and it's not going to like this because this is version 4 writing not version five writing even it might even be version three uh keep in mind that GPT has been trained all the way up to 2021 so everything that happened this year it does not know which is not a bad thing because it was a crappy year in terms of finances uh but so it's not going to work in version four let's try uh it won't work in version five let's try version four and look at that right again if you didn't notice when I had the five it complained here if I go to 4 it doesn't complain anymore right it's just pretty cool the other thing is you didn't used to do uh you call it indicator right I think you called it study I haven't used it in a while so let's see if this works so study and let's add it oh this is probably version three so let's fix that with a version four by just typing color blue and look at that there it is and it even has the alert alert condition and it tells you this line creates an alert that triggers whenever the price goes above the 50-day period moving average and if you go back to charge chat GPT it says uh let's see can I go to air you can then customize the alert settings to choose how you want to be notified by email SMS pop-up Etc right so I think I'm suspecting this is version 3 of pine script uh because uh it you know the color was changed I think of version four again I'm not entirely sure but the beauty here which is incredible is you simply write you query using natural language what you want and it's going to figure it out for you it's a phenomenal tool like people who don't know much about Pine scripting or python this is a huge way a great way to learn these tools so I really love this um this chat GPT I've been playing around with it a lot I'm asking advice on on other videos I've been making like what's the best title um tell me you know everything about you know this building uh a moment in history it's going to create this enormous um this great summary is basically like having a Google search engine and getting answers immediately without having to go through spam without having to go through some page with pop-ups and some guy's Personal Agenda just get the answers now a word of warning one we already talked about it two words of warning one we talked about it that um is trained all the way to 2021 so I won't know the current events right look it will know uh version four or five of pine scripting for example the other thing is it's not always correct uh for that reason stack Overflow Bandit says we're temporarily Banning chair GPT because um the answers people were just posting the questions and getting answers and posting not always correct and I've heard other people saying that no some questions about history some questions about math overall is correct but not always so if you see you know the answers as a distribution curve think about you know in the middle it's going to do a good job on the sides everything more complex everything more esoteric it's not going to do a great job again this is brand new uh it's going to get better and it's a tool to help us right it's not a tool to destroy all knowledge to destroy all educational uh institutions or writers journalists uh uh you know lawyers everybody has to do writing and that uses a huge body of knowledge that's already there that's not going to destroy their jobs it's just gonna kind of you know make jobs easier especially at entry to mid-level um and just as you saw here we had to fix a few things in order to get our um our line and um and uh yeah you also notice that there's no I don't think there'll be an alert here just because price has been going down down down anyways um incredible tool so I highly recommend that you know you get chat GPT uh not just for programming for anything anything if you're interested in you know in in music if you're interested in and you can take basically two poems and say you know combine these two together it's just fun to take two poems that have nothing to do together just combine them and see see what comes out or I took a complex poem that I barely understood and I told him you know we write this for you know so a child could understand it and you know finally I could understand it so this is great too anyways thanks for watching please give the video a thumbs up and check out chat GPD because I think it's just like the invention of the calculator uh it's going to revolutionize a lot of things from education from the way we work etc so we have to be in front of this right it can be a bit scary there's no turning away right there's this you know we're not gonna you know forget this this is here and it's gonna affect us and uh anybody who wants to survive in tomorrow's environment is going to have to know these tools thanks for watching [Music]
Info
Channel: Tech-Fintech-Crypto Meanderings
Views: 24,680
Rating: undefined out of 5
Keywords: ChatGPT, Bitcoin, TradingView, Pine Scripts, ViralML, AI, artificial intelligence, pine script, pine script mastery, pine script mastery course, tradingview tutorial, trading scripts, tradingview indicators, how to code your own trading scripts, moving average
Id: czE5ltuWY_w
Channel Id: undefined
Length: 8min 16sec (496 seconds)
Published: Tue Dec 06 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.