👉 If you like my work, please consider supporting me FOR FREE by using my referral links. It's a win-win, you get free discounts and bonuses, and it helps me to develop more features and content: Apex - Trading fee discounts (My favorite DEX): jesse.trade/apex Bybit - Signup bonuses: jesse.trade/bybit Gate.io (Trading fee discounts): jesse.trade/gate
Thanks for the walkthrough and most importantly thanks for the open-source backtesting framework which I just discovered through this video, that's fricking awesome!
00:02 Implementing Turtle Strategy in Python using ChatGPT model 02:05 Implementing Turtle Strategy in Python with AI rules 04:09 Utilizing Turtle Strategy for Position Sizing in Python 06:33 Adjusting stop loss in Turtle strategy based on price movements 08:55 Use the ADX indicator for trend following strategies 11:30 Enhancement of Turtle Strategy in Python 13:52 Implementing the choppiness index to improve the strategy. 16:31 Python Turtle Strategy increased profit by 319% through leverage and optimizations. 18:39 ChatGPT o1: Turtle Strategy in Python Makes 319%
great job! as always. An important note. Backtest is not a research tool but a way to check your strategy works as you wish! In case you doing the research with that, use smaller time range simulation, and after you happy with your result you should check higher time range, other wise it probably an overfit / statistical fluke
yeah. Or split into test/validation sets even with the same timeframe. I wouldn't trust these strategies just from looking at these stats. But if he took 5 other sets of data from random periods of time and it really worked at worst decently for all of them, sure.
Reading the comments I was surprised to see you created Jessie. I will be downloading and playing with it this weekend. Great video from an insights perspective on how to use Jessie!
Hey man, yeah that's exactly why I'm creating these videos because Jesse's been out there for years now but most of our features aren't even known to users. So I wanna showcase my own usage so that others can get started developing their own strategies.
Very useful, your videos are always so clear and precise, it allows us to learn a lot and different tips for our future strategies. Thanks for sharing.
Another great video, I'm learning something everytime so keep them coming. I saw that chop indicator the other day and meant to test it but thought the adx was enough. I will be lookinh into it agin now
Hey man, I'm glad to hear that. Yeah, it's really great. I also tried using the chop indicator alone and removing ADX, but that didn't help with the result. Keeping them both yields the best for me.
Hi there! Love what you doing and been building strategies for over 5 years myself... Mostly just in MQL. I definitely am busy improving my python skills to code with more ease... :) I have a really good strategy that I need to code and back test... Will try my best to get that done ASAP as manual trading is too tedious for me :D
Hey man, yeah, I'm exactly the same. Manual trading is just too hard for me to manage emotionally and physically. Also, most of the time when I have an idea and I backtest it, it doesn't initially work. So, I think algo trading will help us learn so much faster.
I'm interested in learning Python alongside trading. Could you teach us both? I appreciate how you break down the videos and explain the logic behind each step. Thank you!
Great suggestion man, I'll try to explain more of the Python side as I'm writing the strategies, because I believe the best way to learn a language is while using it.
@@nexenexen You can also use chatgpt and othe AI tools to explain what the code is doing as well as help write the code. I find that has helped me a lot
Hey man, thank you. No, I haven't. As I mentioned in the video, I just got to know the CHOP indicator recently. Have you tried that? Any interesting results?
You can see its results on other periods on our strategies page. I try not to optimize too much so that it won't be overfit. And I also test on out-of-sample, but still. jesse.trade/strategies
@@saleh.m lowest price lagging indicator is, only pure current price, volume and time use Wykoff and Elliot wave theory kind of price action, using multi time frame way of entry and exit from top down approach.
Hey man, thank you. My name is Saleh, actually. I have thought about creating videos showing live trading, but I'm not exactly sure how they should be. As for running this strategy, it's a good one, but I have some better ones that I'm running these days, especially this one that I explained in this video: ua-cam.com/video/40HulO-CVTA/v-deo.html
Please convert the Pivot reversal strategy into Python from Tradingview in it's default trading section! Btw, i did convert it in gpt 4 and even Llama 3.1, it converts the code and the strategy runs but it's results are not matching with one in in the Pine script Pivot reversal strategy so clearly it didn't work as intended and miscalculating the method of the original strategy from tradingview !
I wish i had at least some coding knowledge it would've saved me soooo much time with backtesting lol By the way bro, how can i get your soft ? I'm looking on other of your vids but can't find it
Im a software engineer trying to learn the market. As such I understand coding better than the market. Would you recommend this to me over traditional trading methods? It seems as good a time as any to start leveraging AI for trades.
Well that was the case for me too, I was also a developer so I wanted to use the skills I already had for trading the markets and what I realized in the end was that this is actually the only way that works for me. Because any trading ideas that I had after backtesting them initially they were disqualified. But through backtesting I was able to get them to profitable points.
@saleh.m That's awesome man. Im just diving into it all so I want to understand the logic behind it all before coding something or even investing really. But I tend to agree w you that I would be more capable of making an ai control it automatically vs doing it myself. Are your returns consistently this solid? Or does it take quite a bit of rework fairly often to the point it might not be longer term stable? Thanks again for the info!
@MatttKelly, so first of all, this isn't exactly AI controlling anything; it's the algorithm. In this video, we use AI to give us guidance for implementing the strategy. As for whether my returns are this solid, I have to say that this strategy isn't actually my best one. It was good for educational purposes, but the numbers in it aren't really the best. Looking at the P&L alone isn't enough; you also have to consider how frequently the strategy trades and how many months of the year we are profitable. With those things in mind, I think we can do a lot better than this one, and I am actually doing better. Also, another really important thing to remember is that you're not supposed to run only one strategy. Often, you have to run multiple strategies at the same time. This way, while one is taking trades in, let's say, this week, resting the other strategy would cover it in terms of performance.
In my opinion that's the best way to use chatgpt, to take guidance from it. In my previous video I used another custom gpt to actually write the code too, but I thought this way is more educational to code it myself so we can learn more from it.
A couple of reasons: TradingView has a look-ahead bias if you try to use bigger timeframes. Other than that, Jesse is in Python, which gives us much more flexibility to use whatever tools we like. However, on TradingView, you are limited to Pine Script only. Additionally, you are restricted in terms of how many historic candles you can use on TradingView, but in Jesse, there is no limit.
Your channel is really cool, I was wondering, what do you think about Vumanchu cipher B strategies? I'm trying to make this indicator even better but I'm really bad at coding even with chat-GPT :), maybe you'll have more chance!
@@saleh.m vumanchu market cipher b is a free indicator on tradingview! It’s a mix between multiple indicators which is pretty powerful ! It’s an oscillator with divergences and moneyflow, rsi, stoch… and there is a paid version which as a moneyflow indicator way more accurate a bit smoothed out compared to the free versions! I tried to modify the code but I suck at coding. I ended up adding the algorithm money flow indicator under the VMC cipher B
👉 If you like my work, please consider supporting me FOR FREE by using my referral links.
It's a win-win, you get free discounts and bonuses, and it helps me to develop more features and content:
Apex - Trading fee discounts (My favorite DEX):
jesse.trade/apex
Bybit - Signup bonuses:
jesse.trade/bybit
Gate.io (Trading fee discounts):
jesse.trade/gate
great video thanks.
Please use dark background when u can. cant watch it in the dark too bright i see white screen when i look away from the screen😂
I just discovered your channel, and I find it refreshing and most importantly, filling a gap. You will go far in my opinion with such content.
Thank you so much for your nice words, man. I hope you're right ☺️
Thanks for the walkthrough and most importantly thanks for the open-source backtesting framework which I just discovered through this video, that's fricking awesome!
How timely! I've been using Jesse to backtest some Donchian strategies for the past days
Thank you for another very insightful video
I'm glad to hear that, man
00:02 Implementing Turtle Strategy in Python using ChatGPT model
02:05 Implementing Turtle Strategy in Python with AI rules
04:09 Utilizing Turtle Strategy for Position Sizing in Python
06:33 Adjusting stop loss in Turtle strategy based on price movements
08:55 Use the ADX indicator for trend following strategies
11:30 Enhancement of Turtle Strategy in Python
13:52 Implementing the choppiness index to improve the strategy.
16:31 Python Turtle Strategy increased profit by 319% through leverage and optimizations.
18:39 ChatGPT o1: Turtle Strategy in Python Makes 319%
Great video! Very helpful Jesse concepts which I struggled with. Will be watching this one again and taking some notes :)
Thank you for your nice words. I'm glad that could be helpful.
great job! as always.
An important note. Backtest is not a research tool but a way to check your strategy works as you wish! In case you doing the research with that, use smaller time range simulation, and after you happy with your result you should check higher time range, other wise it probably an overfit / statistical fluke
yeah. Or split into test/validation sets even with the same timeframe. I wouldn't trust these strategies just from looking at these stats. But if he took 5 other sets of data from random periods of time and it really worked at worst decently for all of them, sure.
Stumbled across this and found it very helpful. Subscribed! Thanks for making this.
Glad it was helpful!
Reading the comments I was surprised to see you created Jessie. I will be downloading and playing with it this weekend. Great video from an insights perspective on how to use Jessie!
Hey man, yeah that's exactly why I'm creating these videos because Jesse's been out there for years now but most of our features aren't even known to users. So I wanna showcase my own usage so that others can get started developing their own strategies.
Stumbled randomly on your content, looks interesting I'm subbing and will be looking a bit more closely at your work. Keep it up 👍🏼
Awesome, thank you!
Thanks for your hard work! It's amazing to see how small changes can really improve things dramatically.
Thank you for noticing the hard work that goes behind it
Very useful, your videos are always so clear and precise, it allows us to learn a lot and different tips for our future strategies. Thanks for sharing.
Glad it was helpful!
Great video! You have earned yourself a subscriber :)
glad to hear it man
Good stuff! I saw you import Jessie and didn't even know what that was... Looks like a pretty awesome way to test strategies!
Glad you liked it!
You are awsome now I want to learn to write code thank you...I just started to trade Options, the indicators are very helpful thank you!!!
Happy to help!
Another great video, I'm learning something everytime so keep them coming. I saw that chop indicator the other day and meant to test it but thought the adx was enough. I will be lookinh into it agin now
Hey man, I'm glad to hear that. Yeah, it's really great. I also tried using the chop indicator alone and removing ADX, but that didn't help with the result. Keeping them both yields the best for me.
Much appreciated for your generousity sharing this information. Thanks!
Glad it was helpful!
honestly most informative video i found in past 3 days
❤️❤️
Thanks on this! Keep making this videos, very informative and valuable.
Thank you, will do!
First time here! Great content.!!
Welcome!
Wow, I never knew this was possible. I can’t wait to see how this develops over time
Nice code. Never seen smt like it before. Keep up the good work.
Thanks man, I'm glad you liked it.
Thank you so much!! just found you and insta subscribed, high value content :)
So glad!
Hi there! Love what you doing and been building strategies for over 5 years myself... Mostly just in MQL. I definitely am busy improving my python skills to code with more ease... :) I have a really good strategy that I need to code and back test... Will try my best to get that done ASAP as manual trading is too tedious for me :D
Hey man, yeah, I'm exactly the same. Manual trading is just too hard for me to manage emotionally and physically.
Also, most of the time when I have an idea and I backtest it, it doesn't initially work.
So, I think algo trading will help us learn so much faster.
Just found your channel, super impressed def join discord, keep the content and inights coming 👍
Thank you so much for your kind words.
Thanks for your videos man! It gives good startups to build more complex strategies!
Man, yeah, exactly. That's my hope exactly.
Looking forward to the next strategies, great job dude
Appreciate it!
great content and great explanation, subscribed!
thanks man I'm glad you liked it
Great! Looking forward to the next strategies
Thanks! More to come!
Thanks for this video. new subscriber from India
Welcome!
Really you are legend , i really like your strategy and also like ur voice 😉😉
Thank you so much 😀. At this point I'm very insecure about my voice, so you have no idea how much this means to me.
Thanks for this. Would this strategy also work with stocks ? I can only swing trade Bitcoin because the spread is so wide - any suggestions, please ?
Hi, I haven't tried it with the stocks. Jesse at the moment doesn't support trading stocks, but I will add support for it in the future.
Awesome video. Thanks
Glad you liked it!
Really good video!! Keep going!
Thanks mate, I appreciate it
I'm interested in learning Python alongside trading. Could you teach us both? I appreciate how you break down the videos and explain the logic behind each step. Thank you!
Great suggestion man, I'll try to explain more of the Python side as I'm writing the strategies, because I believe the best way to learn a language is while using it.
That would be great and garantee more views.
@@nexenexen You can also use chatgpt and othe AI tools to explain what the code is doing as well as help write the code. I find that has helped me a lot
Nice tutorial, really well done!
Thank you! Cheers!
Great content! Thanks Jessie. Never heard CHOP before😅
You're welcome, man. By the way, my name is Saleh.
@@saleh.m hahhahh
Really informative video. It would be interesting to hear about your experiments with grid trading.
Thank you, I'm glad to hear that
Nice! Looking forward to your grid trading video
Thank you!
What UI do you use in this video for Backtests and other stuff? Is it some python web-framework or what?
jesse.trade
Thank you for the video. What platform are you using to write these python code for the stock data?
Also curious
I'm using Jesse framework, but at the moment it only supports cryptocurrencies:
jesse.trade
and for testing? I mean what self hosted platform is this? thank you
What is the code suggestion autocomplete called?
Github Copilot
Been trading for a good few years, that was pretty cool. Have you considered looking at the Hull moving average paired with the chop indicator👍
Hey man, thank you. No, I haven't. As I mentioned in the video, I just got to know the CHOP indicator recently. Have you tried that? Any interesting results?
This is interesting and fresh, Thank you.
You're very welcome!
Interesting content, subscribed. Thank you!
Awesome, thank you!
Can you share with us way to build one backtest system like localhost u share in video?
Why don't you use what I'm using? I spent years developing it to its current state.
@saleh.m ya, i'm a developer also, so i hope i can learn something in that perpect project
So, you created the Jesse platform. That is neat
Thank you!
the backtest -jesse looks amazing, have you some tutorial explaining how do that? with the charts etc?
Hi there. There are lots of tutorials both on our documentation and on my UA-cam channel:
docs.jesse.trade
People should use this as guidelines to improve❤
That's exactly the goal 🙏
Hey Saleh, I think it would be great to see things that didn't work also as sometomes knowing what not to do is as importants as what to do.
I agree!
Im going to try this ❤
Hope you like it!
Do you think the o1 version is better for coding also for mql5/mt5?
I haven't found it to be much different than the GPT 4o model so far, honestly.
What are you using to back test? I see it's running on localhost. What program are you using to write the code and run it in the GUI to back test
Jesse:
jesse.trade
You are a genius! Thank you.
Glad it helped!
Can anyone point me in the right direction. Where do you get historical candle data for backtesting from?
Please watch:
ua-cam.com/video/FnLjcWH9D7c/v-deo.html
@@saleh.m Thank you!
LOVE that thumbnail 😄
Haters are gonna say I used AI to generate it 😄
Have we tested this and see if this over fits? Thanks
You can see its results on other periods on our strategies page. I try not to optimize too much so that it won't be overfit. And I also test on out-of-sample, but still.
jesse.trade/strategies
Finally a decent algotrading tutorial 🎉
Thank you!
GOOD JOB
Thanks mate
Cool video I subbed. never seen this Jesse platform, seems interesting.
Thanks for the sub!
instead of price lagging indicators can't try pure price action trading strategies?
As far as I know, every indicator is at least a little lagging, even if we use price action patterns.
Do you have anything in mind that's not lagging?
@@saleh.m lowest price lagging indicator is, only pure current price, volume and time
use Wykoff and Elliot wave theory kind of price action, using multi time frame way of entry and exit from top down approach.
As good as possible. this is awesome 👍
Thanks a lot!
Amazing man, I am also looking to code a few of my own strategies.
Thanks mate, that's exactly my goal. To help you guys code your own strategies, because that's the only thing that really works.
Thanks for sharing
Thank you for your comment. That was fast!
Great vid ❤🎉 16:08
thanks mate
hello! first time viewer, really appreciate your walkthrough here. what is the local app you're using for back testing?
Hi there. jesse.trade
oh noooo .. the strategies are not yet transmitted .. :/
Submitting them now. Thanks for reminding me.
great.........I am following this stretegy manually and now I have an idea .......how can I buy your premium stretegy
jesse.trade/strategies/alligatorv2
Superb!!!
How about trading leveraged ETFs using Heiken Ashi?
Would love to see what you could do wit that.
Good Educational Content
I'm glad you found it useful.
Thank you. Time to look at jesse
great topic, thanks 👍
Glad you liked it!
thanks, keep making vidoes like this
Thank you for the support, man. You're always one of the first to comment ❤
Bro , their is a ROV indicator at the channel at Art of WD Gann . Can you make the pinescript and make it open source
Nice job !!
Thank you! Cheers!
Great tutorial
Thank you, I'm glad you liked it
can you tell us about SK strategy
great explaination
I'm glad you liked it
Great. Nice to see turtle strategy in python. How to connect to you ?
We can discuss how this strategy can be backtested and improved upon
Hey man, let's chat on our discord:
jesse.trade/discord
Amazing video 🔥 I have one to implement the strategy would you have to copy the code onto Trading View?
Hey man, I'm not using TradingView. I code into Jesse and Python:
jesse.trade
How do I implement this strategy? Could you do a video to explain?
@@BobAndy-x4j I'm not sure what you mean, but you do not need tradingview if you use Jesse and Python like I did.
Hi Jesse, good video!
Could you create an actual implementation and test it in a real-world scenario using true funds?
Hey man, thank you. My name is Saleh, actually.
I have thought about creating videos showing live trading, but I'm not exactly sure how they should be.
As for running this strategy, it's a good one, but I have some better ones that I'm running these days, especially this one that I explained in this video:
ua-cam.com/video/40HulO-CVTA/v-deo.html
Just found your channel and subscribe pretty interesting stuff.
Awesome, thank you!
Jesse seems awesome, Amma give it a try
Hey mate, happy to hear that. Best of luck
Please convert the Pivot reversal strategy into Python from Tradingview in it's default trading section! Btw, i did convert it in gpt 4 and even Llama 3.1, it converts the code and the strategy runs but it's results are not matching with one in in the Pine script Pivot reversal strategy so clearly it didn't work as intended and miscalculating the method of the original strategy from tradingview !
Any links I can see it?
@@saleh.m It's right in the default strategies list along with the indicators list (named Pivot Reversal Strategy)!
Great video
Thanks mate
I wish i had at least some coding knowledge it would've saved me soooo much time with backtesting lol
By the way bro, how can i get your soft ? I'm looking on other of your vids but can't find it
docs.jesse.trade
Liked the video allot!!
I'm so happy to hear that
Im a software engineer trying to learn the market. As such I understand coding better than the market. Would you recommend this to me over traditional trading methods? It seems as good a time as any to start leveraging AI for trades.
Well that was the case for me too, I was also a developer so I wanted to use the skills I already had for trading the markets and what I realized in the end was that this is actually the only way that works for me. Because any trading ideas that I had after backtesting them initially they were disqualified. But through backtesting I was able to get them to profitable points.
@saleh.m That's awesome man. Im just diving into it all so I want to understand the logic behind it all before coding something or even investing really. But I tend to agree w you that I would be more capable of making an ai control it automatically vs doing it myself. Are your returns consistently this solid? Or does it take quite a bit of rework fairly often to the point it might not be longer term stable? Thanks again for the info!
@MatttKelly, so first of all, this isn't exactly AI controlling anything; it's the algorithm. In this video, we use AI to give us guidance for implementing the strategy.
As for whether my returns are this solid, I have to say that this strategy isn't actually my best one. It was good for educational purposes, but the numbers in it aren't really the best. Looking at the P&L alone isn't enough; you also have to consider how frequently the strategy trades and how many months of the year we are profitable.
With those things in mind, I think we can do a lot better than this one, and I am actually doing better.
Also, another really important thing to remember is that you're not supposed to run only one strategy. Often, you have to run multiple strategies at the same time. This way, while one is taking trades in, let's say, this week, resting the other strategy would cover it in terms of performance.
which part of the trading bot uses AI? looks like basic algorithm code with some suggestions from chatgpt to me.
In my opinion that's the best way to use chatgpt, to take guidance from it. In my previous video I used another custom gpt to actually write the code too, but I thought this way is more educational to code it myself so we can learn more from it.
Good shit g
Hii Bro, I am new to your channel. What backtesting app you are using in this video. (You are running it in localhost.)
Hey man, it's Jesse:
jesse.trade
Thanks Saleh
❤️❤️❤️
Why not use pine script
tradingview is great for charting but not so great for backtesting
why not to test in TV?
A couple of reasons:
TradingView has a look-ahead bias if you try to use bigger timeframes.
Other than that, Jesse is in Python, which gives us much more flexibility to use whatever tools we like. However, on TradingView, you are limited to Pine Script only.
Additionally, you are restricted in terms of how many historic candles you can use on TradingView, but in Jesse, there is no limit.
Your channel is really cool, I was wondering, what do you think about Vumanchu cipher B strategies? I'm trying to make this indicator even better but I'm really bad at coding even with chat-GPT :), maybe you'll have more chance!
Thanks mate. I haven't heard about it. Any interesting resource I can look into?
@@saleh.m vumanchu market cipher b is a free indicator on tradingview! It’s a mix between multiple indicators which is pretty powerful ! It’s an oscillator with divergences and moneyflow, rsi, stoch… and there is a paid version which as a moneyflow indicator way more accurate a bit smoothed out compared to the free versions! I tried to modify the code but I suck at coding. I ended up adding the algorithm money flow indicator under the VMC cipher B
can you share your github repo please?
github.com/jesse-ai/jesse
Liked the vedio , Subscribed and posted comment not for the price but for content! Lowkey for proce to xd!
cool stuff
I will be making one for turtle soup
New discovery for me, love the dev and trading, so like + follower now :)
Awesome, thank you!