Easy Automated Live Trading using ChatGPT (+9660.3% hands free)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
in this video I'm going to show you how to completely design and automate your own strategy so that a trading bot that you design can trade for you and if you like staying up to date with new and Innovative Technologies such as trading Bots or Innovative strategies this is the right channel for you I try to upload at least once per week so you can stay in the loop so hit the Subscribe button and turn on all notifications so you're notified when I upload since the release of chat GPT trading Bots are starting to go psycho some of them can scalp up dozens of Trades per day and a lot of Traders are utilizing AI to help them improve their strategies if you haven't heard of chat GPT yet it is a automated language model and it can code for you so I'm on openai.com and if you click the top banner up here it says introducing chat GPT research release it'll take you to chat gbt create an account and you can start using it for free now the biggest thing in order to learn how to use it is how to write your prompts in order to get the result that you want chat gbt typically can give generic answers but if you know the right questions to ask you can get hyper-specific responses for your exact question or you can have and sometimes chat GPT will give you coding errors but if you know the right questions to ask you can work around those and also you don't necessarily need to know how to code to build your own trading strategy we're going to utilize the public database and train chat gbt to help us build a strategy for us using some of the ideas that we have and if you don't have any ideas you can ask tragedy petite for ideas to help you out along the way so just to put this in perspective of where we're headed this is what chat gbt is today in the black line and chat GPT 4 the language model that's going to come out it's going to dwarf everything that we have seen so far I mean you could barely even see this black line here cha gbt4 is going to be at least a million if not a billion times more powerful than Chad gpt3 so the errors that you get in your code now those will be resolved as the technology develops so sit down hit the like button and I'm going to show you exactly how I built a complete strategy from scratch there's also going to be a secret message somewhere in this video so if if you see it comment the timestamp down below and I'm going to give the first person who gets it correctly a free month of patreon at my 50 tier that's going to give you access to a complete host of free trading signals and a special bot building workshop session that is in my trading Discord trading Bots are a Trader's dream ever since I heard about them I wanted to implement a full trading system for myself it removes the emotion from Trading and if it's completely automated I don't have to physically be at the charts or at my desk when I'm trading I can go to work hang out with my family or friends and I don't necessarily have to be always thinking about trading or getting back to the charts or checking my stop loss or anything like that with that said with a trading bot system it is good to periodically babysit your Bot you really want to check your statistics and make sure that the Bots are performing in real time this is a trading system that I developed and I'm going to release the code in this video let me just show you the trading panel so this is how this strategy has performed after paying commission this strategy is doing around 8 408 88 profit and I've trading view premium so this goes back 20 000 candles on the four hour chart if you have trading view free you can get 5 000 candles a look back for your back testing if you have Pro that's the medium tier subscription you get 10 000 candles one thing you have to know is that these results are specific to this time frame so I'm on the four hour chart if I go to the three hour chart these results are gonna slightly differ the strategy has to be tuned using the settings here there's the EMA length here that is the exponential moving average and once these settings are dialed in for specific chart run the Bitcoin chart and the specific time frame it's useful to see if this data looking back actually can work in real time so this was a long that was an entry and so far it has it's still in it's at 37 profit right now this is the open trade and you can see it in the trading panel this is the open profit and loss let me just expand this window a little bit you can see the 37 right there the average winning trade is around 22 two percent the average losing trade is around four or five percent so that means that your win rate doesn't necessarily have to be fifty percent if the average winning trade is disproportionately advantageous so I'm going to show you exactly how I built this code this is the pine editor on trading view if you want to register for trading view this is the platform that I recommend trading on it's great for charts you can do everything on this you can automate your strategies incorporating other components that I'm going to get to later in the video so at the end of the video I'm going to copy and paste all of this code and paste it for free in my Discord server the link to the Discord is in the description below or you can head over to my profile and click my profile banner and the link to the Discord is also there so in my Discord there's a bunch of strategies that are available to the public these are all free there are a bunch of different strategies like the scalping screener there are a lot of other indicators that I've shared for free and I'm gonna make another Post in working scripts if you're looking for where it is just join the Discord and then click on working scripts and if you want to hang out and chat with other Traders you can head into chat GPD Bots to ask your question also the full tutorial for this video will be available in text format in this channel right here it's at the very top of the server it's set up your trading bot and I've gone through a full text guide there's images here so there's a step-by-step process to how to set this all up so in the video today I'm going to introduce chat qbt training View and I'm going to show you how to incorporate your trading strategy live on buy bit with Wick Hunter and before I do just a little side note if you head over to my website tradetacts.io you can grab one of the best indicators on the market today and also if you resell it you can grab 50 commission that's right you could become a 50 50 partner with me selling one of the best indicators on the market today so you can check out all the details of how it works this is a complete trading system that works on crypto stocks Forex it automatically calculates trigger waves it gives you extremely easy buy and sell signals telling you exactly where the market state is there's also a free trial tab at the very top you can grab a free week trial if you want to test it out just make sure that you include your trading view username so I can activate you right away if you're interested in that head over to Trade Tech text Dot IO the link is down in the description so once you're signed up for trading view I recommend downloading the app it's really seamless you can head over to products and chart plus that's going to take you to the main trading window so here's the strategy that I have on my window and I'm going to show you exactly how I built it step by step using chat gbt so I'm just going to take this off my screen right now now that it's gone the strategy tester is blank so I need to load a brand new indicator or strategy and I was browsing the public database and I randomly came across this simple Fibonacci email strategy so if you hit this indicators tab up above and type in simple Fibonacci email strategy this one will come up and I'm picking this one right here now this is a very rudimentary strategy you can see that the profits are completely different than the one that I already had that chat gbt improved for me the shorts are in the red so we got to improve on those big time as well as the max drawdown is 56 on that ideally we want that to come down as much as possible what drawdown is is the maximum possible loss that a strategy could have incurred using all of the trades that it has made so if it made 56 loss and didn't bounce back that would be very bad so we want to minimize our drawdown the first thing that we got to do is open up the pine editor code to do that we're going to click on the top left hovering this email strategy and then we're going to click on these squiggly brackets as you can see it's locked here in order to get access to this code from the public database to modify for ourselves we've got to click these three dots on the right hand corner here and we're going to click save as so we can make our own script copy and you can name it anything that you want I'm just going to hit save and now it's going to unlock for us here the second thing that we have to do is notice This little light bulb icon that's floating right here if you click on it you can see convert script to version 4. this Pine script is outdated so we can update it just by doing this right here there the code updated and there's one more time because version five is currently the most up-to-date version of pine script so there we go it says version 5 at the very top in line number one that's the most important thing and now we're going to copy all the code and head over to chat gbt so I've got this code copied and I'm going to ask chatgpt to explain the code and suggest making improvements to it so what I've written in my prompt is explain this Pine script strategy and suggest potential long and short rule improvements and this is what it's doing right here for me it's explaining exactly what the script does so if you don't understand how to read Pine code or if you don't understand this at all that's perfectly fine this is exactly what it's doing in natural language for you so here are results some of the potential improvements that are suggested are adding a couple filters such as volume or momentum indicator that's going to help validate the strength of the signal if you're a Trader he uses the exponential moving average for entering trades I'm sure that you know that if the two lines cross as your entry signal and they stay crossed that is a great signal like the one that we have right here in our most recent trade this was along here these lines crossed and it says State crossed and that was a great entry however sometimes they can get entangled in this chop and that's where you want to filter out so I'm going to ask would a macd work as well for Confluence so here are the rules that it recommends you using with the macd indicator recommends using macd to confirm a long entry signal by requiring that the macd line is above the signal and the histogram is also positive and the reverse for a short signal another keynote is that it's reminding us that the macd is a lagging indicator that means that it'll give signals slightly after the trend has already started but for us that's okay because we really want that additional confirmation before we get into our trade to make sure that the trend is actually strong so we're going to add macd into the strategy but we're not going to ask chat GPT to build it for us for Scratch so we're going to incorporate a macd into the strategy but I would not recommend asking chat GPT to build a macd indicator from scratch where they have the public database on trading view that we can grab it from you can find the macd indicator in the public database on training view by hitting indicators and then typing it in in your search box so now that is added to my chart I can open up the source code for this and check if it's in pinescript version 5. so this is the moving average convergence Divergence indicator so I'm going to paste most but but not all of this code into my chat gbt session the lines that we don't want are line 1 and line two because we already have that from our previous strategy and we only need one of those in our script the second thing that we don't need are the actual visual plots unless that's something that you want that's the last lines here from line 23 onwards so I'm just going to grab everything in between so now that I've copied it I don't need this anymore I can cross it out from my screen and you can open up your other code from before the simple Fibonacci email strategy it should be in your recently used scripts if you hit open so we've got our macd code copied and we've headed back to our simple email example now I'm going to paste the macd code that's already working they're both in version 5 into the email example here now where I'm going to place it has to be before the strategy entry conditions so I'm just going to paste it in like this and now we can copy all of this over again so I've combined the code and I've pasted it into my chpd session and here's the prompt up above I've added the macd into the code here is the updated code for you please implement combined rules using the macd into the strategy entry conditions so this is really good it's detected that I've added the macd indicator into the code but I haven't yet implemented any rules using it into the strategy so it's giving me the exact sequence for the strategy entry lines combining the macd right here when macd is above the signal line that is a entry confirmation as you can see here the strategy entry up above does not have that so we could just copy that here is the explanation of how this functions it'll only enter a long position when the fast teammate is above the slow me EMA and the macd line also has to be above the signal line now that we've got this Confluence hopefully the trades will improve so I headed back to trading View and these are our strategy entry conditions I've copied the ones that chat CPT gave me we can just override them now and it's added in the macd and one thing that I'm noticing is the alert conditions down below that were in this strategy aren't in our strategy entry rules so I'm also going to add those right now so I've gone ahead and optimized this here I added if conditions as well that doesn't really change anything it's just optimized for the current version of pine script conditions here were not customizable in the alert conditions but I've gone ahead and done that as well so I'm going to go ahead and hit save on this and there appears to be no errors so I'm going to head over to the strategy tester to see the results and already the performance summary is above a thousand percent profitable the shorts could definitely come up a little bit more but this is already improved just using that simple Confluence without changing any of the other settings so what we can do is open up the settings and we're going to refine our strategy for the current time frame and our current Equity so there's a bunch of settings here that we can modify to tune this strategy for the current chart and we don't want to go too far with that we want to hyper tune our strategy but we do want to adapt it for the current Equity that's trading maybe there's more volume on this specific chart on the specific time frame we want our strategy to be flexible for multiple time frames multiple charts that's going to give us more robustness to our strategy so hopefully it performs well in real time so if you want to learn how to adjust these settings properly I made a video on it you can save that video for later if you want or open up in a new tab and watch it after this one generally as you walk your settings forward one by one you'll notice that the net profit changes all of the other settings change as well and you really want to find a sweet spot with each setting and once you're completely done you might want to retune it again and again and the way that I look at it is you're just ironing out those settings to get you the optimal configuration and one of the things that you definitely have to do is factor in commission if you're in the settings here select the properties Tab and you can input your commission on your exchange usually around point zero five percent is good once you do that you'll notice that your net profit does change after it factors this ends and it's very important to do that so that you're actually getting reliable results you can also hard code the commission value into your code so that it's always there every time you upload a new configuration you can do that by going to line two and typing in commission underscore value and you can place any commission value that you want just make sure that it's true to your exchange so that the results that you're seeing on your screen are likely to be more accurate for the results that you're actually going to get and I've been adjusting the signals for a little bit here just trying to dial in the correct settings for this time frame I'm currently sitting at two thousand three hundred percent two thousand four hundred and forty four percent and I want to find that sweet spot there you can see it starts going down as I continue so I want to go back up that seems like it's the sweet spot for that setting I'm playing around with the signal smoothing and getting even slightly better results and I think I'm closing in on an Ideal trade setup this is 7899 and that's nine thousand two hundred and twenty six percent just double checking the commission here on this strategy we're at point zero five if I turn that down to zero you can see that our profit does go up but we do want to factor that in so commission is factored in these are strategy settings and this profit is not necessarily indicative of future results what we want to do is some robustness testing there's a deep back testing configuration on trading view that you can get with a paid plan we want to put this into paper trading before we put real money into it as well this is the strategy configuration that I'm going to share in the Discord server but before I share we have to make a couple final results if we want a four test with it so this is the key part of the video we can send these long signals to another platform and that's going to manage our trades for us and that service is Wick Hunter they can completely automate your trading for you and they have some of the fastest execution times as well as the top security that I've seen recently three comments got hacked so I'm no longer using that service WIC Hunter completely encrypts your API keys and the best part of all of it is it's completely free it's easy to sign up all you got to do is connect your exchange we've already created our bot and now you can trade on autopilot their plans normally start at 19.99 but if you're part of my community and you use the link in the description below to sign up it's completely free so if you sign up for a buy bit using the link in the description below witch hunter will automatically detect that you were referred by me and you'll get free service you can set up multiple Bots and start trading live and automate your strategy completely and buybet is one of the best trading platforms as well for trading crypto they offer some of the best spreads and some of the top reliability and security for an exchange if you click the link in the description it should look like this there should be the sign up code up above when you create an account as long as this is in your search bar when you sign up you're going to redeem free access for Wick Hunter the wick Hunter link is also down in the description below feel free to check it out play around with a free account and see the kinds of things that you can do I'm going to show you how to set up a simple bot right now using the strategy that I just created so if you live in the US you might need to use a VPN service to get access to buy bit there's a good VPN down below and it gives you a safe browsing experience and you can access buy bit for only pennies and that's going to increase your overall Security on the internet so someone just signed in to buy a bit there's the assets tab you can deposit or withdraw crypto and if you do deposit it you want to deposit it into your derivatives account so that it could work with WIC Hunter then we've got to give Wick Hunter access to our API so it could execute trades with security for our account so hover over your profile image in the top right corner and then select API that's going to take us to this page where we can create a new key so I'm going to select create new key and you have to select connect to third-party applications so once you select connect to third-party applications you can find WIC hunter in the drop down menu that's going to mean that your account is secure and only your WIC Hunter account can access it next you need to select read and write configuration and we've got to select the first five boxes for the permissions there's going to give the API the permissions to execute trades on our accounts but you do not want to give the API the ability to transfer any assets in or out of your account so make sure that these ones are left off once you click submit and authorize it your public and secret API key will pop up and your secret key only appears once so make sure that you safely link it into your WIC Hunter account once you have your API key handy click the exchange tab head over to connect account and here you're going to have all the options here your private key is going to kept private never show that to anyone so select your exchange buy bit paste in your public key private key and you can create any group you can just use the default one for now once you do that you can hit connect and you're going to see that your exchange pops up it's going to register as buy bit now you might be wondering how do I send signals from Trading view to Wick Hunter so I can manage my bots so click on trading Bots and select create a bot now the first thing that comes up is which account you wanted to trade from if you select buy bit usdt your profit is going to be kept in usdt and if you select the other one this is the inverse account that means that if you trade a Bitcoin your profits will also be traded and stored in Bitcoin so I'm going to select buy bit usdt since I want my profits to be kept in stablecoin the side that I want to trade is both long and short so I'm going to select both but if my strategy wasn't good at longing or wasn't good at shorting I would either select buy or sell only and that would help us only trade in One Direction the symbol that I tuned my strategy to was Bitcoin usdt so I've got that selected and for the risk profile I'm going to select medium that doesn't actually modify the strategy results but it helps me sort it around for later if I want to search for it so if I have a very risky bot that I haven't traded very much I'm gonna put it in the very high risk category I'm going to make a mental note for later only to use small amounts if I want to test that bot on the exchange now as you test your Bot more and more you might want to put it in a very low category if it's very very profitable and increase the order size I'm going to quickly explain what all of these other things mean the entry size type that I want to trade is percent I want to compound my account so if my bot has a hundred dollars in it and I profit twenty dollars the next trade is going to trade 120 if I put a flat dollar amount it's always going to be static for the entry size it depends how much you have in your derivative accounts I'm just going to put 50. I only have one bot running right now so so I can technically put far higher and for the order type I'm going to select limit or post only if my ball were trading on the lower time frames and it was trading during a period of high volatility my limit order might not get filled so I would Select Market and The Leverage is 1x I don't want to put more than one X leverage for now you can also add dollar cost averaging orders I'm not going to do this for now and I don't necessarily need any take profit orders although you definitely can add this if you feel like the nice thing about this is it has an automatic stop loss as well as an extra layer of security I'm not going to use that for now although it's nice to know that this is handy so once you've done this you can click save and it's giving me an important indication that I have to enable this bot in the view Bots tab so here's the bot that we just created and I'm going to enable it here so in this tab if you only have one or two Bots going this really doesn't matter but if you're managing multiple configurations this is the panel to do it from server counter will only open a maximum amount of positions on your account and if you want to limit the amount you can also add a cool down across all of your Bots and you can also shut down all of your Bots at once from this panel so now that we've got this bot active head over to Signal Wizard and this is going to help us link our strategy with trading view so the two types of signals that you're going to want to do are open a trade or do a market close if you want to see what any of these other configurations do simply click on them and it's going to give you a brief description right below this panel so we're gonna have two types of configurations for a long open and Market close and two for a short open and Market close as well we're going to generate a payload right now to paste into trading View and watch how simple this is to do I select the correct coin pair you can toggle close previous position now if you like hedging this is where you want to leave it off otherwise you can turn it on or you can enable it in your strategy as well your strategy can be coded to enable hedging or not as and you can also do it through this Wick Hunter panel there's two types of sides to trade on long or short so I'm going to select buy for long and now that I've filled out every line in this category the show button has turned pink and I can generate a payload just like that so this is one of four payloads I'm going to paste into my trading view script so I'm going to hit copy and show you exactly where to paste this in so we're back on trading View and I've separated our long short extra long and extra short conditions and I've added in these alert boxes I'm going to show you what these do in just a moment but the key thing that I want to do is customize these to be compatible with Wick Hunter so if I want to do that I got to add in the alert message it's going to put whatever it is in this box and send it over to Wick Hunter and I got to do that for a long and short extra long and extra short conditions now that I've got the four different alert messages I can click save and I'll see if this loads properly on my chart it's loaded correctly so if I open up the settings Cog wheel you can see these alert boxes that have popped up and this is what the code just created for us and you can see that it says paste the payloads here so I'm going to go back to Wick Hunter and paste four different payloads that I generate into the respective message boxes here here is the long entry message I'm going to head back to wake Hunter and select side cell now and that's going to generate a brand new payload for me to paste into the open in cell that means it's going to open a short trade so that's going to go into short entry message this is pretty straightforward and simple to generate the market closed conditions I'm going to select this configuration right here under signal and I'm going to close the buy position that's going to go into long exit message and then if I want to do the other side for shorting I'm going to generate another payload and paste that in right here and click ok so we got all four and we got our settings configured correctly for this specific time frame and Equity I'm pretty happy with putting this strategy into forward testing mode so I can select alert and it's going to allow us to send alerts right into Wick Hunter and for a free plan of trading view you can set internal alerts within training view but if you want to send alerts outside of trading view you're going to need to sign up for a paid plan and don't worry they offer a Pro Plan for 30 days for free you can sign up with the link down in the description and you'll get thirty dollars back or anything that you want for the expiration if you have a premium account you can set open-ended alerts otherwise you can set alerts into the feature and you're gonna have to refresh them as time progresses in this message box you're going to want to delete everything and in that box you're going to want to put this code exactly you need the exact squiggly lines and the underscore as well this is going to send our exact strategy order as an alert message into WIC Hunter head over to the notifications tab on the right hand side right here all of the others can remain unchecked but the web hook URL must be enabled if you want to send strategy alerts into a counter and you can quickly grab and reference this Wick Hunter URL by heading to the signal wizard panel that we were just on and hidden copy on the web hook URL right here so once that's all in we can click create and it should be active you can check your active alerts in the top right corner right here now that our bot is fully enabled if we have usdt in our buy bit derivatives account our bot is going to automatically trade the exact amounts that we inputted if you want to see if your Bot is actually sending the signals and they're being received once you capture a live signal you can check if it actually fired in the logs panel under your profile tab the targets equal one is really important because that means that it's sending it directly to our buy bit exchange if it's zero that means our exchange is not connected and if for whatever reason you get this error on WIC Hunter word asks you to purchase a subscription before connecting it means that you didn't sign up for buybit using the referral code that I Linked In the description below so you could re-register for a buy bit under a new account under this referral and you're going to get free access to WIC Hunter so please ensure that you click those referral links for buy bit and Wick hunter in the description when you sign up and if you end up joining the trade tactics Discord you can find the text tutorial of this really quick by heading over to the setup your trading bot tab it's right at the top of the server you can't miss it and it explains all of the steps for this in text form and before I wrap up this video I'm going to show you where to find the strategy code for this strategy that I just created on screen it almost has ten thousand percent profit so I'm sure you're looking forward to testing it out for yourself just click the Discord Link in the description to find the strategy code I'm making the post right now as we speak once you join the server head over to working scripts and I've created this prototype right here there it is uploaded for you as we speak so you can come over and check this strategy out for yourself copy and paste this into your Pine editor so to do that you'll just download this code copy and paste the entire thing you need all of the lines here including the version 5 at the very top and make sure that you don't miss a single thing by downloading the code select all from your word pad head back to training view click the pine editor Tab and you're going to want to open a brand new indicator this is code that you don't need so just click delete and paste the entire code in there's 48 lines of code if you've copied and pasted it correctly and hit save there should be no errors so you should be good to go if you like this sort of content and you want more comment down below your questions I'll be sure to answer them hit subscribe if you found the secret code in the video comment it as well as the timestamp down below and the first person to do so we'll get a free month of my 50 tier patreon and it'll be a super bonus to me if you all liked the video help boost in the algorithm thank you for watching see you
Info
Channel: Trade Tactics
Views: 82,382
Rating: undefined out of 5
Keywords: chatgpt, chatbot, chamath, ai chatbot, chatgpt ai, openai chat, gpt 3 ai chat, gptchat demo, hack chatgpt, openai chatbot, openai chat gtp, openai chatgpt, chatgpt writing, michael batnick, advanced chatbot, jaibreak chatgpt, chatbot technology, jailbreaking chatgpt, ntroduction to chatgpt, gptchat demonstration, conversation with an ai, what is anti intellectualism, what does ai say about our future, what is pseduo intellectualism, hack, hacking, haunted
Id: dIEZVPVOZPQ
Channel Id: undefined
Length: 26min 48sec (1608 seconds)
Published: Sat Jan 28 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.