FULL Code || Forex Trading Robot || 90% WIN (backtest) || Tight StopLoss || (Part 2)

  Рет қаралды 54,500

No Shenanigans

No Shenanigans

Күн бұрын

Пікірлер: 1 000
@No_Shenanigans
@No_Shenanigans 25 күн бұрын
no-nonsense-forex-shop.fourthwall.com/ I wanted people to watch and code themselves so that there is learning involved. But there are so many that don't want to code the video, so thinking now to make the code available as a download file for a small fee like $15-20 or something. Have made downloadable codes available. Still would suggest strongly to follow the video and code for yourself so you learn the logic as well. But if you really want to, then you can now buy the code for a little donation.
@kennedymurithi7354
@kennedymurithi7354 12 күн бұрын
Hello do you train pple to design eas
@asifabo8948
@asifabo8948 2 ай бұрын
started from part 1 today, best 7hours spent, thanks for the knowledge
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Very glad to hear brother.
@asifabo8948
@asifabo8948 2 ай бұрын
@@No_Shenanigans it opens 30 trades for a single same position anyway i can limit to the no of positions
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
that means the checking for OpenPositions and Orders in the OnTick() function has an error. EA is not picking up that there is already an open position or a pending order. pause the video on that and check. There is something wrong in loops for open positions and orders.
@abbestrader
@abbestrader 2 ай бұрын
Thanks bro, the best course I found on KZbin, everything is clear and with the robot I learned all the details, I will collect all the functions you explained to use them in my future programs, I look forward to your course on Python and the learning machine
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Great to hear brother, happy to share what I know
@linwilliams5283
@linwilliams5283 3 ай бұрын
Thank you very much this is awesome. Have the base code running and playing with ideas already. Hoping to hear more about your refinements in the next videos. You are changing lives
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Great plan. Test and get familiar with the EA with forward testing. meanwhile, I will upload videos with refinements. Will be first uploading base for Bitcoin, oil, gold and stock and then get to refinements.
@kylekelley53
@kylekelley53 2 ай бұрын
Can you send me the full code? Thanks.
@mkri1000
@mkri1000 2 ай бұрын
@@kylekelley53 Don't be lazy....
@Animal_Loverss
@Animal_Loverss Ай бұрын
Hey can u share the code
@hurcayir1
@hurcayir1 Ай бұрын
You are very successful and a good teacher. Thank you very much for providing such videos.
@No_Shenanigans
@No_Shenanigans Ай бұрын
You are welcome, will keep posting what I know for what it is worth
@IngwangDiwangKaton
@IngwangDiwangKaton 2 ай бұрын
Thank you, as a student I really learned a lot of things from you.
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
That makes me very happy. Keep learning. there will be a lot of bumps on the road, but every bump is a learning that adds to your knowledge
@dustyarcher
@dustyarcher 11 күн бұрын
I absolutely 💕💕💕 your videos. I’ve created more than 25 robots and I must say your content is great. Thank you!
@No_Shenanigans
@No_Shenanigans 10 күн бұрын
Thanks bro, will share more stuff
@mwaura.
@mwaura. 3 ай бұрын
Very much appreciated. Can't wait for other such good EAs from this channel. Also can't wait for some more variations of this EA. We're humbled
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
You are more than welcome. Such warm response really melts my heart. Will be posting with a smile on my face knowing it is so much appreciated.
@ZXevious
@ZXevious 2 ай бұрын
It is an amazying robot. Thank you very much for sharing!!!!! You explained it very well, you are a very good teacher
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Thanks brother, sharing what I can.
@naturewalkingwithyou
@naturewalkingwithyou 3 ай бұрын
Very clear explaination, you are a gifted teacher. Looking forward to the next video.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks a lot brother, am trying to improve with every new video with ways to keep it interesting and not let it become dull. Tomorrow will be releasing the modification of this EA so it can trade Bitcoin as well. Have captured the video, am starting to edit. After that some parameters on top to make the trading even tighter. and then into a Machine learning series where we ask AI to learn to trade and then trade for us. Stay tuned. :)
@nicolajlydeking6851
@nicolajlydeking6851 Ай бұрын
Love that you are explaining what the different coding means, it really helps learning and thank you so much for the EA!
@No_Shenanigans
@No_Shenanigans Ай бұрын
My pleasure!
@brainblood1
@brainblood1 3 ай бұрын
I was desperately waiting for the second part.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
very welcome brother. More variations and mods coming soon where we will add on top of this base EA a lot more options and functions. Stay tuned
@brainblood1
@brainblood1 3 ай бұрын
​@@No_Shenanigans Sounds interesting. Thank you very much. appreciate your efforts
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
welcome my brother. A lot more coming, stay tuned.
@Rootham297
@Rootham297 11 күн бұрын
God bless you, I've been thinking about running a martingale/grid system on my live account though i know thats risky but after seeing this I think I'm gonna be codding and testing and finally I'll deploy it on my VPS
@No_Shenanigans
@No_Shenanigans 10 күн бұрын
I will be sharing my grid (sort of martingale strategy either up next or in next from next EA that I share). Need to decide whether I make video on a trend based EA based on price structures OR share a reversal strategy next. Leaning towards trend based to share first in which case will share my grid one after that
@تیپیتریدر
@تیپیتریدر 3 ай бұрын
after 4 hour i wrote all code 🥵🥵🥵😃😃😃😃
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Hurray.. do apply in a demo account for forward testing first before applying to any real account.
@DhaakiraStreaming
@DhaakiraStreaming 3 ай бұрын
I keep getting a unbalanced parentheses, I don’t know anything about coding. But I figure that’s its needs to be close but for the love of me I don’t know where.
@DhaakiraStreaming
@DhaakiraStreaming 3 ай бұрын
Is there anyway to send you a direct message?
@MCCUQ
@MCCUQ 2 ай бұрын
I know it's not fair to ask for the finished product but is it possible for you to share your EA file please
@TawsifAhmad-o2d
@TawsifAhmad-o2d 2 ай бұрын
Brother Can You give me your telegram account🥲
@Momazharansari
@Momazharansari 2 ай бұрын
The way of explaining each and every single thing is soo good. Now I’m your new subscriber ❤🎉
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Thanks brother
@Animal_Loverss
@Animal_Loverss Ай бұрын
Dont waste ur time it doesn't work, i tried the code with same parameters (all parameters including the same dates as him) it ends up in a loss
@No_Shenanigans
@No_Shenanigans Ай бұрын
Tried it on the same broker as well? Brokers can really impact results. I ran the test on ICMarkets STANDARD demo account.
@Shiny_black
@Shiny_black 22 күн бұрын
bad luck.. i found ur comment after wasting my 4hours
@No_Shenanigans
@No_Shenanigans 21 күн бұрын
@Animal_Loverss @Shiny_black I challenge either of you to make a video where you show the entire code, and then run backtest on ICMarkets Standard demo account using the exact settings that I have and that the results are significantly different. Will wait eagerly. I BET you used a different broker and then since all brokers are angels proceeded to decide that there must be one code used in backtest and other shown in video. EVEN THOUGH hundreds of comments of where people have replicated the same results. They are all BOTS i guess in your head.
@abbestrader
@abbestrader 10 күн бұрын
@@No_Shenanigans I also wrote the code and test it for the same parameters, buton a dem account by Exness broker, results are very differents. anyway, I learned a lot from the viideo, thnks
@No_Shenanigans
@No_Shenanigans 10 күн бұрын
there are many who have commented here that it doesn't work on Exness as the trailing stop doesn't work. Many brokers do not allow scalping, exness looks like is one of them (not allowing trailing stops to be only 1 pip away from the price). Also not sure what their spreads are but if they are more than 0.5pips on standard account, then is going to be bad results. The broker will make money. I thought I covered it well in the videos that the EA requires 2 things - Extremely tight spreads (0.5pips max) on standard account (no commission) - ability to trail stop loss close to the price (brokers that allow scalping). but guess communication is not my strong skill :))
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Frequently Asked Questions. = What broker am I using to run this EA? What broker is best for running this EA. I personally use ICMarkets and while not promoting them, I am very happy with them for the last 10 years or so. and if you do choose to use ICMarkets, you can join them using this link which will include a 15% reduction in their spreads. icmarkets.com/?camp=71312 If you are already on ICMarkets you can use Partner ID = 71312 code to get a 15% reduction in spreads by sending an email to partners@icmarkets.com (not affiliated with them, but find them to be good broker so sharing the information) =. Every Tick vs. Real Tick I believe in neither set. The only true test is forward testing in a demo account over 3 months at least. For what it is worth, the backtest on the EA shows a lot of promise and if it interest you, I would suggest to code it and forward test it. If you already know by watching 3 minutes of video that this is not going to work, happy days, you saved yourself 2 hours (and learning something new) I would be hard pressed to find another EA on youtube which EVEN gives such results on Every Tick. and for Real Tick I have seen even good strategies bite the dust immediately. The ones that even perform. One of my other EAs (which I will share in future videos) is swing based and does quite ok in real account. But in RealTick bites the dust immediately. So believing neither and believing only forward testing. BUT I understand that will require 2 hours of sitting down, following the video and coding and risking that those 2 hours might be a waste (disregarding learning and knowledge shared).. Much easier to DISMISS and continue with life. :))) =. EA accounts for commissions already? EA by default is designed for standard SPREAD ONLY accounts. If you apply to commission based account, EA will wrongly assume we are already in profit once it goes past triggerTSL point while in reality we might not be. If really want to apply to commission based account, then increase the TSLTrigger and TSLpoints by say 0.5, 0.6 pips (5-6 points) to accommodate for the commission paid. = Results are fake Again, i don't doubt the 400 IQ analysis from watching 2 minutes of video to come to that deduction. But not sure what to do or say to people who have followed the video and coded the EA and are confirming that they get similar backtest results. Again, I don't believe in backtesting anything more than an INDICATION of whether or not an EA is worth testing in forward testing. = Suggestions on improvement Extremely grateful for those. Will keep collecting and when I have 5-6, will make a video showing how to code those suggestions. So far I have 1) Applying RSI/MA/Bollingerbands to further finetune trading criteria 2) include option to trade fixed lots ONLY besides as risk % and 3) Don't let 100 bars expires before refreshing the high/low. If there is a new high/low, delete the current order and put it on the new high/low. Thanks a lot for these suggestions = General one-liners e.g. This won't work Not sure what to do with those comments. Stop sharing what I am sharing??? PS: Please do understand that this is JUST THE BASE CODE. Very Rudimentary and just the foundation to lay additional mods on top. There are a lot of mods that go on top of the base code which I will be sharing over the coming weeks.
@constantine243
@constantine243 3 ай бұрын
You are a God sir ❤ Thank for the explaining the code, i learnt alot from this and subscribing to learn MQL from you. If you have a course on MQL please let us know. You are the best teacher on youtube for MQL by far.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
You humble me my brother. When I can find a bit more time, I will do a full tutorial from beginner to intermediate of not only MQL but also Python and how to code in python for automation but also machine learning so we ask AI to trade for us. Stay tuned.
@iamme2923
@iamme2923 3 ай бұрын
Is this bot available on MT5? I'm a person who just would like to purchase the bot instead of doing all this coding.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
@@iamme2923 It is available www.mql5.com/en/market/product/96219. however, i would strongly urge you to reconsider. learning how to automate can be very handy for your own strategies. Also knowing what the code does is helpful in application in the real market. Otherwise is doomed to have bad times.
@DhaakiraStreaming
@DhaakiraStreaming 3 ай бұрын
@@No_Shenanigans I would love this.
@jesjan7031
@jesjan7031 3 ай бұрын
You are very clear and concise. Thank you so much! Fantastic work!
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Many thanks brother.. sharing what I have learnt, glad it is useful to others. Will be sharing more in coming weeks.
@lauriejacobs3980
@lauriejacobs3980 3 ай бұрын
Thank you so very much. As promised on Friday. Good to meet a man of his word. Much appreciated.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
My pleasure brother, took a lot of time to properly edit the entire thing. But glad to see so much response and so many of my brothers taking interest and inspiration.
@tor1q
@tor1q 22 күн бұрын
I appreciate you taking the time to teach us... Finding the high I still don't understand but you have given me enough to work with to figure it out.. I look forward to seeing you build out more bots, like FVG bots, how to find break of structure and so on. I'm struggling with figuring out the logic I need to supply my bot in order for it to excute my strategy accurately. I'll definitely stick around for more of your informative videos and excellent teaching style.. Much appreciated.
@No_Shenanigans
@No_Shenanigans 21 күн бұрын
I have many videos that I am working on so hardly find time to make the video on the high function. as soon as i can, i will make one.
@tor1q
@tor1q 21 күн бұрын
@N-NFX no pressure brother.. I'll catch up on all the videos inshaAllah and looking forward to seeing what u have planned.. Stay safe ✌️
@mohammedAbd-sz5tm
@mohammedAbd-sz5tm 3 күн бұрын
I have to write the code as it is, even the existing colours? Thank you, my brother
@No_Shenanigans
@No_Shenanigans 3 күн бұрын
colors you can choose yourself. If you are new to coding, i'd suggest to code with same color and then change to your liking in the "input" tab when you are either testing or applying to a chart. But you can change the color to your liking in the code as well.
@eng.khalidabdirahman5530
@eng.khalidabdirahman5530 Ай бұрын
we need more explanation to find high and lows in candles thanks teacher
@46byv6rub
@46byv6rub 2 ай бұрын
Thanks for posting this very insightful video. Having a 26-fold return over one and a half years is A LOT. My concern is only: Is your strategy tester using actual historical tick data? Or is it just interpolating tick movements based on M1 OHLC data? In the real world, tick data are very jittery, and if you are using such a tight trailing stop loss, you might get stopped out much closer to your entry price than strategy tester predicts.
@No_Shenanigans
@No_Shenanigans Ай бұрын
backtests are only good to check if the codes are working as intended. Forward testing is the ONLY real testing I used everytick data (so is not OHLC).. you are right, real world is very different and the only way to test is to apply in a demo account and forward test.
@niekhorstman
@niekhorstman Ай бұрын
Has someone succesfully coded this and used this in the past months? What were the results in current live markets? Thanks! By the way, appreciate the video!
@codingrobotforex
@codingrobotforex 2 ай бұрын
nice video, this is the first video i watched and very well explained.Good job
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
thanks brother, will continue to share what i know
@HeinrichL.-qi7do
@HeinrichL.-qi7do 5 күн бұрын
awesome work! :) one question: i tried to play around with it and change the number of bars to calculate for highesthigh (and low). when i change the value of BarsN for example to 1 shouldn't it give me a HH or LL on almost every bar???
@No_Shenanigans
@No_Shenanigans 4 күн бұрын
it should as long as there is 1 bar to the left and 1 bar to the right. But i don't suppose it will place any orders as orderdistancepoint will require price to be a certain distance which might not happen if the barsN is only 1.
@EternallyGreat
@EternallyGreat Ай бұрын
This is amazing! Thank you for your hard work and good teaching! Subscribed!
@oluwolejohnson3368
@oluwolejohnson3368 2 ай бұрын
You're Amazing. Kudos for the good job sir.
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
thanks brother, will continue to share what I know
@nguyendinhngoc0501
@nguyendinhngoc0501 3 ай бұрын
Thank you so very much. There are 2 questions I want to ask about the code if it runs automatically: 1. There is no protection when orders slip: The EA has no checks or adjustments for order slippage, which can lead to orders being entered at unexpected price levels. 2. Lack of reaction to big news: The EA has no mechanism to avoid trading during times of important economic news, which can cause major risks if the market fluctuates strongly after the news is announced.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
This is just the base code. and still between 2 parts is more than an hour long. There will be more videos to put parameters like you mentioned and also checks like if account has proper balance, that user has not selected any erroneous inputs like starting hour is later than the ending hour etc. But that will make the video 5 hours long. Already is too much for people not familiar. Do not want to load them with phd level stuff if they are new to coding. also, if I separate all other parameters and conditions etc, then people can decide which one they want to include and which not. you are an experienced trader, I have to keep the weakest link with the rest of the chain as well. I don't have any solution for slippage. I suppose no one does. if you are aware of some solution, would be very eager to learn
@nguyendinhngoc0501
@nguyendinhngoc0501 3 ай бұрын
@@No_Shenanigans Thank you. I find your trailingstop solution very unique. Thank you very much. Hope to learn more from you
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Maybe once this series is complete, I will do a trailing stop video with many different ways and options, like trailing it by ATR or by last high/low or by moving average etc. should be helpful.
@nguyendinhngoc0501
@nguyendinhngoc0501 3 ай бұрын
@@No_Shenanigans I tried creating a MetaQuotes-Demo account and it worked very well, maybe because the spread is small. However, if you trade on an exness standard account it is not good, I think spreads are very important for this EA. So it's best to find a floor with small spreads. Thank you
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
spreads are important to any scalping EA due to the large number of trades. This EA works under 0.5pips spreads.
@nazgio
@nazgio 3 ай бұрын
Thank u so much fr ur effort and time.i able to follow u and able run test.more power and blessings
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Brilliant. makes me happy that my effort into making the video and hours of editing did not go in vain. There is a lot more coming on the same EA (mods).. stay tuned.
@nazgio
@nazgio 3 ай бұрын
@@No_Shenanigans no sir, i tested so many EA since month. No EA reach this level
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
@@nazgio Glad to hear you like it. is 2 hours of your time well spent 😁
@AaronOak
@AaronOak 3 ай бұрын
The codes are weirdly similar to another tutorial from Rene Balke from a year ago (if I'm not mistaken), I remember because it was one of the earlier video I follow back when I was still learning. I'm not saying anything bad or what, if any it's a good tutorial video instead. You added some other value for learning purpose (i.e. breakpoints) & to the EA itself such as time filter.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks brother. There is a snippet from a poem in my language that goes "The way of telling makes it different, otherwise there is no story in the world which is new". What I share is what I have learnt myself over last 15 years. a lot of that is inspired from other people.
@AaronOak
@AaronOak 3 ай бұрын
@@No_Shenanigans very true, you have your own style of teaching & value added, which makes it more informative. All my respect for you, nothing bad about sharing knowledge to others. Please keep up the good work, Sir.
@themahani
@themahani 2 ай бұрын
Thanks a lot! I learned a lot, especially on how to implement trailing stop loss. :)
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
glad to hear. That is what I was aiming through this channel, to learn how to automate and not just copy an EA from here and there.
@Trustmeplease-ko1zp
@Trustmeplease-ko1zp 2 ай бұрын
Very interesting adviser. Thank you for everything you do for our hospital ward! Regarding other systems. I think that this algorithm could be reworked for swing trading. So that it would look for entries in the opposite direction, after breaking through the upper and lower points of the candles. The main idea is that when these zones are broken through, there is no more liquidity there, and the price often reverses in these places. It no longer makes sense for it to go further. This could work for swing trading. Only these zones should be defined on a higher time frame. Not on the one where the adviser trades. Regarding this scalper. I would really like to rework this code for mt4, but unfortunately, my knowledge is not enough for this yet. And it is not clear where to get a library for mt4, if you use it. Thanks for all!
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
I will post a video next month on how to write this for MT4.. unfortunately with a lot of stuff going on, just not able to find time to make one
@expertforum2092
@expertforum2092 Ай бұрын
Sir, you today spared me years of research i Thank you sincerely. Please consider the Python version and let me know when you do that Thank you in advance
@No_Shenanigans
@No_Shenanigans Ай бұрын
I have started a Python based series as well. I will post version of this EA in both MT4 and Python soon
@stuartwinter-ok4wc
@stuartwinter-ok4wc Ай бұрын
finished all parts so far a quick question how do i change the lotsize to get the same results you did in your back test
@silas1820
@silas1820 3 ай бұрын
First of all, thank you for your video ❤. Got it working and are current playing around with backtesting. The strategy is based on small profits adding up. Will commissions not eat a large part of that profit?
@silas1820
@silas1820 3 ай бұрын
Never mind, I see that it is already taken into account in the backtesting. This means that finding a broker with less commission than ICM, will increase profits. My guess is that it will be quite a bit.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
I would advise not to use it on commission based accounts but standard pip account. Another way to circumvent that is to increase the trigger and trail by 0.5pips to accommodate for commission
@madvt9864
@madvt9864 3 ай бұрын
Thanks a lot for the effort! Your back testes are based modeling on every tick, if you make it on every tick based on real ticks the results are negative. Have you tried this ea on live account?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Brother, I do not believe in either backtest. They are only indications. Real tick data is normally worse in terms of gaps and missing data and is why brokers fill in the gaps and release the other set. Forward testing is the only test which is REAL. backtest is only indication on POTENTIAL of an EA. I have tested in forward testing with further tweaks to the base code, tweaks which I will be sharing in the coming weks (are mainly more conditions on WHEN NOT TO TRADE) and it is more than 90% win rate. Returns depend on risk settings. EA does super well during trending markets, not so well during sideways movements. But overall trending periods more than compensates for sideways periods
@madvt9864
@madvt9864 3 ай бұрын
@@No_Shenanigans ok thanks again! Your teaching skills are incredible, you explain everything in every detail!
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
very happy it helps. hopefully the channel picks up a little and it can reach more people.
@mbaas66
@mbaas66 2 ай бұрын
I'm so excite to have found this video - as that implements the naive idea that I had just this week (and addresses detail I hadn't even thought about) - thanks for sharing so openly! Question: wouldn't it be better to calculate lot size based on % of available margin? (Just in case it overlaps with manual trading etc.)?
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
very good point (never thought about that because I keep separate accounts for separate EAs to track performance easier) but extremely valid point, thank you.. I am collecting suggestions from the comments and will make a video.. Will include this as well.
@mkri1000
@mkri1000 2 ай бұрын
Excellent video @N_NFX. I'm an MT5 coder as well but have definitely learnt something from you!
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Glad to hear brother, that is the aim of the channel. to learn to automate stuff.
@MohamedMohamed-iq1xr
@MohamedMohamed-iq1xr 3 ай бұрын
Hi Sir, thank you very much for the video. I done all the coding same you provided and no errors. The only thing is that when I backtested, no trade shows up.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
If you can copy past the codes you wrote into a text document and upload somewhere and share the link, I can take a look. most likely the issue is in the referencing to trade.mqh file or libraries. if you type trade in the ontick function and type dot (.) does it open up a dropdown like in the video with all trading operations? that will tell whether or not the referencing to trade.mqh file is correct
@MohamedMohamed-iq1xr
@MohamedMohamed-iq1xr 3 ай бұрын
​@@No_Shenaniganshow can I send you the code.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
copy in a txt document, upload it anywhere and then share the link here.
@MohamedMohamed-iq1xr
@MohamedMohamed-iq1xr 3 ай бұрын
Hi Sir, I tried to upload the document but didn't go through. Anyway the error that I received is ctrade::OrderOpen: invalid expiration type.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
@@MohamedMohamed-iq1xr recheck the SendBuyOrder function codes and SendSellOrder function codes against the video. or copy past that part of the code here and I can see.
@andrew-johnmars5654
@andrew-johnmars5654 8 күн бұрын
Great video, love the knowledge and how you break down everything , I coded the robot and only get 85% win rate on long trades and 0% on shorts trades, any suggestions on why that might be?
@No_Shenanigans
@No_Shenanigans 8 күн бұрын
Is the EA even taking trades on short side? There is somewhere an error in the sellorder code (or the check for if there is already a position open). 85% might be because of your broker if the spreads are high (or if you are applying it to pairs that are not suitable).
@andrew-johnmars5654
@andrew-johnmars5654 7 күн бұрын
@@No_Shenanigans I tested the EA on USDJPY, when I compiled the EA it did not give any error.and I followed every step in the video, so I was just wondering why the EA don't place short trades
@No_Shenanigans
@No_Shenanigans 6 күн бұрын
something is wrong with either the check for positions part for Sell, Or in the Sell Order function. copy paste your code here and I will take a look.
@alvinboe1287
@alvinboe1287 2 ай бұрын
Find this vid amazing, explanation is crystal clear, hence we understand which code perform what....I've followed all the coding and compiled with no errors / warning, however when running the back test....its ONLY open BUY STOP order.....not even single SELL STOP have been triggered yet....Could u explain what I missed..??...thx u...
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
something is wrong in the send sell order function. compilation only looks at syntax errors (for example if you miss a } or ) or misspell a variable). MQL cannot look at logical error (e.g. if you say SL = entry - sl for sellorder mql cannot figure that in case of a sell the sl is a bigger number so it sould be sl - entry. Those types of errors MQL cannot figure. Check the codes for finding low and then sendsellorder function. there is some logical error there. hope this helps
@monushuk5912
@monushuk5912 2 ай бұрын
Dear, Let me compliment you for such an amazing explanation with clarity. But how can we deploy this please
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
If you have completed the code, I think in the last part of the video I show how to attach it to a live chart so it can trade. Best to do it in demo account first to see if the EA is doing what it is supposed to be doing before applying to real account. Does that help? or let me know which part of deployment you are referring to
@ikeanyijiobi3653
@ikeanyijiobi3653 3 ай бұрын
Great Video and Another Video on explaining how to find highs in candles and even detect break of structure would be something I would be keen to watch
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Once finished with the other videos in the same series for bitcoin, oil, gold and stock indices, will then make a video to explain the high and low function in details. Have another EA that works on price structure.. Will be the next series after this one. Stay tuned
@ikeanyijiobi3653
@ikeanyijiobi3653 3 ай бұрын
@@No_Shenanigans Have you got any configurations that give a drawdown of less then 10% on balance and equity but good Win Rate? I've been trying to find one
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
the more you reduce the Risk Percent value, the lower the drawdown will be. Win Rate will remain the same.
@ikeanyijiobi3653
@ikeanyijiobi3653 2 ай бұрын
@@No_Shenanigans Also for some reason when i back test it doesn't make any short trades just long trades do you mine having a look at the code I drafted.
@JosephKachimba
@JosephKachimba 3 ай бұрын
Finally this is much appreciated atleast will help with my knowledge on trailing stops
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
You are welcome brother. In future videos we will apply modifications to the base EA that I have shared, that will increase a lot of your knowledge on how to do various other things in mql.
@gibran.a.d
@gibran.a.d 2 ай бұрын
nice lecture sir....keep going up..thank you for your had work..
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Will be coming in the next few weeks with a lot more. Stay tuned.
@modine4
@modine4 3 ай бұрын
Great tutorial. If you were to use this as a live trading EA, would you optimise it,? If so could you make a video on optimising it on MT5? Thanks, keep up the great work.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
This EA is not yet complete, there are additional mods I will be sharing over the coming weeks. For now, only use in demo to see if there are errors, strange behaviors etc and get familiarized. The EA I use in live trading has more modfications which will require another few weeks of videos to fully share. stay tuned.
@jansengoncalves
@jansengoncalves 3 күн бұрын
Hi, tanks for video. Include Trade.mqh not found, link for download?
@No_Shenanigans
@No_Shenanigans 2 күн бұрын
it comes with Metatrader when you install it. There must be a typo error in your include command. The path is incorrect. check that you have the exact #include you can also check in the left panel under folder include => Trade that a Trade.mqh file is there.
@wellingtonsenkge4221
@wellingtonsenkge4221 3 ай бұрын
First of all thanks for sharing you one of a kind...wish i was younger to be able to follow instructions on coding easily..i have a question can it be coded on Mt4? I have no clue about coding😊
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Sure brother, it can be coded into MT4. I have an MT4 version as well. I personally find coding in MT5 a lot more intuitive and easier. When I finish this series, will post a video on how to code the same for MT4
@rogerssentume780
@rogerssentume780 13 күн бұрын
Hello sir, something I didn't understand from the backtest, there's a point at which the stop loss was hit at the 2% drawdown, making a loss of 20 plus, but still, there's some trades I saw beyond negative 40 and some 60, so am confused... I thought the drawdown of risking 2% per trade meant a loss not above 21
@No_Shenanigans
@No_Shenanigans 13 күн бұрын
As the balance grows from 1k to say 5k, the loss value despite remaining 2% will also grow. 2% of 5k will be 100$. Second case can be during news if there is huge slippage. but i guess what you are referrring to is the first case. hope this explains
@FarhanAli-vy5xi
@FarhanAli-vy5xi 3 ай бұрын
First of all I wanna say, thank you so much for the code. IT'S AMAZING! I was having a little problem in backtesting. The code produces very different results on "Every tick based on real tick" modelling method. Why is that?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Real tick data from brokers normally misses information which they fill through normalization. Don't believe either backtest (EvertyTick and RealTick). The only real test is forward testing. Rest are only indications of potential for an EA.
@MuthurajArumugam-v7l
@MuthurajArumugam-v7l 3 ай бұрын
@N-NFX I have tried coding and backtest. In the back test most of the order deleted due to money. But I have loaded the while back test.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Not sure if i fully understand. are you not able to run the code in backtest?
@MuthurajArumugam-v7l
@MuthurajArumugam-v7l 3 ай бұрын
@@No_Shenanigans yes.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
you can send me a file with your coding on discord.gg/ZcXfZGqn. A fellow commentor @bogdanpralea1728 has been kind enough to create this channel so we can speak more easily there.
@chongyuankhai4970
@chongyuankhai4970 14 күн бұрын
hi, everything is worked very well but only the trailing stop is not working, i have follow your coding step closely, appreciate you can point out which part has been gone wrong?
@No_Shenanigans
@No_Shenanigans 14 күн бұрын
if the coding is correct, then is broker issue. Some brokers do not allow trailing stoplosses so close to the price. test on ICMarkets and if it still doesn't work then we know is a coding issue, in which case copy paste your Trailstop function here in comment and I can take a quick look.
@joelmasamuna
@joelmasamuna 3 ай бұрын
Thanks a lot for the time you take to these videos. Could you please make a optimization video of this EA
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Good suggestion. I have collected many suggestions from the comment section, will do all of them in one video
@PatriceL584
@PatriceL584 2 ай бұрын
Seems great , thanks for the share. Do you think it could be done with python extension for metatrader as backend instead of mql5 programming ?
@No_Shenanigans
@No_Shenanigans Ай бұрын
Yes, definitely. after completing the coding in MT5, I will post videos of how to convert to MT4 and also Python
@rdhinakaran
@rdhinakaran 3 ай бұрын
Thanks a lot, you explain everything in every detail, Your teaching skills are incredible, But i ran the code, its open more than 10 order at the same time?
@rdhinakaran
@rdhinakaran 3 ай бұрын
I tried to share the code to you, but KZbin block the comment any other way to reach you?
@rdhinakaran
@rdhinakaran 3 ай бұрын
I find and changed the code, now its working fine
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
perfect. There is no better feeling that solving an issue after an hour of banging one's head on the table 😢
@hcyong83
@hcyong83 3 ай бұрын
@@rdhinakaran i got the same problem as u. May i know what is the solution? thanks.
@aaddegroot4318
@aaddegroot4318 2 ай бұрын
@@rdhinakaran What did you change? in MQ5 code please.
@Panickypear
@Panickypear 3 ай бұрын
Hi, one more question. Does it work if my broker only allows a leverage of 1:30? In Australia, brokers are not allowed to have leverage of 1:500.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Yes, brother as long as you keep you the risk percentage to the correct setting. If you put too much risk then the lot size might be too big for the leverage allowed, but 2% should easily work. EA doesn't open too many trades at the same time and the positions are closed quickly. 1:30 should not be an issue.
@johnsisindisir378
@johnsisindisir378 13 күн бұрын
This robot has amazing results thanks for sharing it with us, but I have an issue about adjusting lot size, could you please explain how I can adjust lot size.
@No_Shenanigans
@No_Shenanigans 13 күн бұрын
Make these changes 1. Add enum and fixed lot variable at the beginning of the variable section (before the Riskpercent = 2 variable) enum LotType{Fixed=0, RiskPct=1}; input LotType LotSizeType = 0; // Type of Lotsize (fixed or %) input double FixedLotSize = 0.01; // Fixed lot size (if Selected) input double RiskPercent = 2; // Risk in % on each trade (if selected) 2. Change the executeBuy and executeSell function to below (i.e. include an if statement to check if user has selected Fixed lot size instead of Risk%) void executeBuy(double entry){ double ask = SymbolInfoDouble(_Symbol,SYMBOL_ASK); if(ask > entry - OrderDistPoints * _Point) return; double tp = entry + Tppoints * _Point; double sl = entry - SlPoints*_Point; double lots = FixedLotSize; if(LotSizeType==1){ if(RiskPercent > 0) lots = calcLots(entry-sl); } datetime expiration = iTime(_Symbol,Timeframe,0) + ExpirationBars * PeriodSeconds(Timeframe); trade.BuyStop(lots,entry,_Symbol,sl,tp,ORDER_TIME_SPECIFIED,expiration); } void executeSell(double entry){ double bid = SymbolInfoDouble(_Symbol,SYMBOL_BID); if(bid < entry + OrderDistPoints * _Point) return; double tp = entry - Tppoints * _Point; double sl = entry + SlPoints*_Point; double lots = FixedLotSize; if(LotSizeType==1){ if(RiskPercent > 0) lots = calcLots(sl-entry); } datetime expiration = iTime(_Symbol,Timeframe,0) + ExpirationBars * PeriodSeconds(Timeframe); trade.SellStop(lots,entry,_Symbol,sl,tp,ORDER_TIME_SPECIFIED,expiration); }
@johnsisindisir378
@johnsisindisir378 13 күн бұрын
@@No_Shenanigans Thank you
@jawadbarkat7377
@jawadbarkat7377 2 ай бұрын
sir you are amazing i have one idea i hope you implement. we use 1% of total capital like we have $1000 on single pair usdjpy and 1% is $10 okay. suppose very first 3 trade is wining and after 3 trade we face one trade lose like -$20 no matter but can you right these type of code like very next trade is recovery like -$20+1% so we recover our loss or we get 1% of trade or if our recovery trade is going to loss -$20 or -$20 ---> -$40+1% till we get one winning all lose will be recover sir my english is little bit week but i hope you understand
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Thanks brother, but that will change the entire EA. How do we know that the next trade is not going against us as well? so we stick with the strategy. Recovering immediately when the loss happens is a slippery slope. we trade the same way despite loss and over time if the strategy is profitable there would be more profit than loss. hope this helps
@euan8656
@euan8656 4 күн бұрын
Ive got a little error at the end and I dont know how to resolve it,,😢 Anyhow,, you and after coffee same person?
@No_Shenanigans
@No_Shenanigans 4 күн бұрын
What is the error brother? Maybe i can help resolve and yes, same person
@mohammedAbd-sz5tm
@mohammedAbd-sz5tm 2 күн бұрын
@euan8656 My brother, I also have a mistake. Can I contact you so we can solve these mistakes with each other?
@richardb120
@richardb120 3 ай бұрын
You are a good person, hope god will reward you
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks brother, God has already been very kind to me and my family with blessings and a good life. healthy and happy. is prayers like yours that will keep it going. Thanks
@ardiwijaya5172
@ardiwijaya5172 10 күн бұрын
Which ea that is tested in here? Forex+ modification or timerange breakout?
@No_Shenanigans
@No_Shenanigans 10 күн бұрын
Forex+Modifications+Filters (The full EA was coded in 4 different parts so overall 4 videos cover it). Time range is different.
@arkadiuszmikler4832
@arkadiuszmikler4832 Ай бұрын
Thanks a lot for this recording. I'm learning to code with you.🙂 However, I have a problem with Trailing Stop. There are no errors in the code, but doesn't work. I've checked it so many times but Trailing Stop doesn't work for me. What could be the reason, any suggestions? Can you make a video describing Trailing Stop in more detail? My suggestions for future recordings: 1. Automatically disable the bot when they publish important data. 2. How can I create a bot based on my own strategy?
@No_Shenanigans
@No_Shenanigans Ай бұрын
try it on a different broker (I use ICMarkets). Some brokers don't allow trailing stoplosses so close to the price. In my upcoming video I will share the filter for major news so that trading can be stopped during those periods
@TraderGaming-zu4wh
@TraderGaming-zu4wh Ай бұрын
I have some error like void TrailStop
@SimenStaabyKnudsen
@SimenStaabyKnudsen 3 ай бұрын
This is amazing, thanks so much for the content! So how does it perform live? I guess the spreads can be the factor that tilts the strategy into becoming unprofitable, am I correct?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Scalping requires very tight spreads.. on my broker I have between 0.3-0.6 pips spread on EURUSD GBPUSD and USDJPY. Anything above 0.5pips will make any scalping operation difficult
@SimenStaabyKnudsen
@SimenStaabyKnudsen 3 ай бұрын
@@No_Shenanigans I am using IC markets which I believe is the same you’re using? They have very good spreads 👍
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Yes, didn't wanna say as it will look like i am promoting. They indeed are very good. I suppose your account is linked to an IB partner for reduction in normal spreads. If it is, then the range on EURUSD and USDJPY would be below 0.5. GBPUSD maybe around 0.6.
@RodZone
@RodZone 3 ай бұрын
How about in 0.7 spread what adjustment can you suggests on the settings?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
0.7 is borderline so should still work. higher spreads bring the win rate down. No setting changes can change that.
@Panickypear
@Panickypear 3 ай бұрын
Hi, thanks for the amazing script. Just bit confused with trading time. Are you using New York local Time. I got a VPS with server in Newyork. Should I use 800 to 2100?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
it doesn't matter where the server is based. Is what time is set on the server. You can see that by looking at the time on the chart and compare it to GMT. my broker's server is also in NY, but his server time is set as GMT+2. Then you can convert that to what time the London session starts and start the trading 1 hour before to give EA time to place orders.. and close when the NY session is about to close (say 2 hours before) as the market starts to die down. hope this helps.
@codingrobotforex
@codingrobotforex 2 ай бұрын
Nice videos, keep sharing.. I have finish code like in this video but when im backtesting with the same pair, same setup and same periode of time. but why result are totally different. Mine had loss not profit
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
different broker? The EA requires 2 things 1) extremely tight spreads and no commission 2) ability to trail stoploss just 1 pip from the price (many brokers don't allow that)
@asifabo8948
@asifabo8948 2 ай бұрын
please make a new video displaying the entire code, part 1, 2 & gold you can just make a short video where you just scroll from top to bottom so we can see where we went wrong and correct the code accordingly
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
The only thing I get in return for sharing all of this is people watching the videos. That is the only return i get. so unfortunately, i do ask people who want to own this for free to follow the video, watch it fully and code. hope you understand
@KrishnaTungal-f9n
@KrishnaTungal-f9n 3 ай бұрын
Wonderfully explained, though am not from coding background, able to write it n compile it without errors n backtest also worked.. Hope this is suitable with Exness... Else I may need to open ICmarkets account..
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
EA requires 2 things. very tight spreads (and no commission) and ability to trail the stoploss very close to price (setting stoploss very close to price). Some brokers do not allow it. as long as your current broker is allowing that, it should work.
@KrishnaTungal-f9n
@KrishnaTungal-f9n 3 ай бұрын
@@No_Shenanigans have deployed with exness in demo, let's see
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
a few commentors here have created a discord channel to share their results and ideas.. could be useful if you also share yours there..
@lucapeduto
@lucapeduto 3 ай бұрын
Great video! Just one note: if I test the EA using "Every tick based on real ticks" for modelling option I obtain much worse results than using "Every tick". Have you seen that in your test?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks brother and yes. Real tick data is normally missing pieces and is why sbrokers release the tick data set by completing through normalisation. End of the day, both are just data set and can only be indicative. The real test is forward testing in a demo account on a chart for a month or 2 and seeing how the EA performs and fine tune in terms of when to trade and when not as well as risk. This is the base code.. there are a lot of small additional parameters that I have written and will share in subsequent videos to fine tune it even more. Hope this helps
@lucapeduto
@lucapeduto 3 ай бұрын
@@No_Shenanigans Thank you!
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
very welcome brother.
@chrono3401
@chrono3401 Ай бұрын
Hello! Could i ask on how to make it so the the buy stop order is 3 pips below/higher from the high's/low's price? What should i add to the code?
@No_Shenanigans
@No_Shenanigans Ай бұрын
make the value of entry 3 pips higher before sending the order. so in executeBuy function before the code trade.BuyStop write below code. This will make the entry price 3 points higher (10 points = 1 pip) entry = entry + 30 * _Points; trade.BuyStop(lots,entry,_Symbol,sl,tp,ORDER_TIME_SPECIFIED,expiration); and then before trade.SellStop code in the executeSell function write below code entry = entry - 30 * _Points; trade.SellStop(lots,entry,_Symbol,sl,tp,ORDER_TIME_SPECIFIED,expiration); hope this helps..
@ManojGupta-cl6rj
@ManojGupta-cl6rj 2 ай бұрын
Great video. How do I enable broker fee based on spread? Thanks.
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
I would rather advise to look for a broker that offers really tight spreads. any broker that offers less than 0.5pips (standard account with no commission) will work. if is a commission based account, then increase the trigger and TSL by another 0.5pips to account for the commission paid. hope helps
@aerovisiontv9276
@aerovisiontv9276 2 ай бұрын
Great Great and Excellent Bot coding ❤
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
Thanks brother, happy to share what i can
@ryanhall4484
@ryanhall4484 23 күн бұрын
Great video man.
@No_Shenanigans
@No_Shenanigans 22 күн бұрын
Thanks bro
@singyeh99
@singyeh99 Ай бұрын
Has anyone tried on demo yet? I think the secret to the success to this EA is the tight Trailing Stop. I've tested my own simple breakout EA with similar TS on demo yesterday (Friday 4th Oct 24) and I got the best results ever even on a demo. But much to my dismay, when I compared it to the backtest result on the same day, it was very close to the Real Tick data. The Tick data shows about double the profit of the demo results while the Real Tick data is somewhere 10-20% below the Demo results, which is still a good sign in my opinion. Moving forward, I'm planning to test on 2 demo acc. First with the optimized parameters using the Real Tick data, and the 2nd would be optimized parameters using the Tick data. The parameters that I would be optimising would be the TS and the time of day to trade. I will share the results in this comment section and in the meantime would appreciate if you guys could share your results here too.
@alokkumarverma5172
@alokkumarverma5172 Ай бұрын
Hello Sir i am create this script but after compile and go test but order not execute in tester
@TheEngineeringGeek1
@TheEngineeringGeek1 Ай бұрын
am finding some issue on enum StartHour {inactive=0, _0100=1}; input StartHour SHInput=0; // Start hour Errors its brings when i compile 'StartHour' - undeclared identifier Sr 1.mq5 18 16 'StartHour' - some operator expected Sr 1.mq5 18 16 '{' - semicolon expected Sr 1.mq5 18 25 '{' - function definition unexpected Sr 1.mq5 18 25 'StartHour' - declaration without type Sr 1.mq5 20 17 Am following you video second per second. i would have sent you a screen shot but i cant post it here What could be the problem?
@mohammedAbd-sz5tm
@mohammedAbd-sz5tm 2 күн бұрын
I have a problem, there is one mistake that tells me a mistake that I can't stry up. double findlow(){ tells me that the brackets are unbalanced.. Please help
@No_Shenanigans
@No_Shenanigans 2 күн бұрын
look how many opening { there are and how many closing } in that function. also can pause the video on that section and check line by line.
@iraklis19977
@iraklis19977 2 ай бұрын
how to be more accurate on every tick based on real tick? usually that kind of backtests are very accurate. so as you said its not gonna work probably. any suggestion that we can add? in general your code rocks
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
brother I don't know how to make it better on real tick data. for me the only test is forward testing. Once you write the code, try it in demo account in real market and then decide if it is worth extra effort to refine or is just complete crap
@ANUJBHARDWAJ-cp5xo
@ANUJBHARDWAJ-cp5xo 18 күн бұрын
I exactly coded the same but still getting different results is that something related to the broker part?
@No_Shenanigans
@No_Shenanigans 14 күн бұрын
if the codes are running correctly, then MOST likely. A broker can make or break a scalping EA
@pendynovar
@pendynovar Ай бұрын
Sir, do you have mql5 live signal for this ea ?
@asifabo8948
@asifabo8948 2 ай бұрын
Hello love the video, do you have the mql4 so i can use the ea on mt4 would really appreciate
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
I will in coming months post a MT4 version as well. Unfortunately, way too busy with some family stuff currently to be able to make one (and it takes a full week editing and converting).
@hasanulfarukee4356
@hasanulfarukee4356 26 күн бұрын
Can you kindly explain the Find High function in details please? Thank you for this video.
@No_Shenanigans
@No_Shenanigans 24 күн бұрын
thanks bro, will try to find time to make more explanation on the findhigh function
@BhekumuziNkosi-h4z
@BhekumuziNkosi-h4z Ай бұрын
I did everything as you did but when l compile before the first test l get errors and when l click start nothing happens, when l check on journal it says "Loading of Scalping Robot failed" and "Open error" l guess it is because of the errors l get when l compile, can you assist
@AnaisApollon
@AnaisApollon 5 күн бұрын
Hello, i have coded everything, the compile shows no errors but backtesting won't work...any idea that can help ?
@No_Shenanigans
@No_Shenanigans 4 күн бұрын
there is somewhere some logical error (mql only picks up syntax errors). what specific issue do you face, does the EA not place any orders at all? or opening too many? or at wrong places? or not trailing? also a good broker is key.
@mohammedAbd-sz5tm
@mohammedAbd-sz5tm 2 күн бұрын
My brother, I also have a mistake. Can I contact you so we can solve these mistakes with each other?
@Musik_Now-92
@Musik_Now-92 Ай бұрын
Is that any code for make it off automatically if any high impact news l, cz my broker have a high spread when news
@leonardocaceres9024
@leonardocaceres9024 Ай бұрын
i think you could use a conditional for high spreads. for example measuring distances between bid and ask in every tick.
@BrownWhyte
@BrownWhyte Ай бұрын
Detailed video, but after testing the bot, it's not displaying my profit. Please help
@MrColalz
@MrColalz 22 күн бұрын
Hello , great video . I hav a question , when i run my test i hav like 2283 trade on the same periode with the same settings , its like double the trade . Any idea where is the problem? Thx for the works
@No_Shenanigans
@No_Shenanigans 22 күн бұрын
I need a bit more details. Is EA opening multiple trades? Or are you running it on a different timeframe? like 1 min chart? also is your testing period the same? If you are using longer period say 4 years than obviously number of trades are going to be more
@MrColalz
@MrColalz 20 күн бұрын
@@No_Shenanigans Hello , i found the problem now it's fixed. but when i run the same pairs like GBP/USD with the same settings on the same period u made almost X4 during this period and for me it's X2 do u hav any advice or details ? Thx for the video and the reply
@No_Shenanigans
@No_Shenanigans 19 күн бұрын
my first guess would be the difference in broker. if your broker has higher spreads than mine, that is going to eat into the profits.
@MsSly66
@MsSly66 26 күн бұрын
thx..it was hard for me... I tried following the video step-by-step to create the program. When I finished, the compiler didn’t show any syntax errors, but during testing, the scalper didn’t open a single trade... :-( Is there a full description of the program available somewhere so I can find where I made a mistake?
@No_Shenanigans
@No_Shenanigans 25 күн бұрын
copy paste your code here in the comment and I will try and take a look where the error (logical error) is.
@shutlepaul
@shutlepaul 6 күн бұрын
looks promising so far. trailing on a small account using USDJPY, GBPUSD, EURUSD.... lets see what happens. Great video. very informative. you've managed to make it virtually "idiot proof" ha ha
@No_Shenanigans
@No_Shenanigans 4 күн бұрын
you wouldn't imagine how many code files are sent to me to find issues in coding. lol. not claiming this will make money all the time. There will be periods of drawdown etc. The trick is to have an arsenal of EAs (i have about a dozen which I will share all of them) so one set compensates for the other.
@marcobroda5228
@marcobroda5228 2 ай бұрын
hey Brother, Amazing videos all of them! Much appreciated! Iam in the middle of combining your MACD ea and the 3 EMA RSI ea and wanted to add the time filter. All code is working robot trading SL is set TP also. all good, BUT i entered the input group as time gilter did everything. But iam not sure how to ask the EA to check the actual time if its between the set time and than only place a trade? could you help with that?
@No_Shenanigans
@No_Shenanigans Ай бұрын
In the same way as we check for current server time in the scalping robot in OnTick() function. or is that not working? Copy paste your code here in comment and I can take a look
@ptfloy
@ptfloy 3 ай бұрын
I have a problem with backtesting. It only works with 1 year of data or something around that. If I try to do it in 5-10-20 years of data, its either stop at the beginning after 2 order placed immediately, one sell and one buy. Or going to zero after a period of time, and I can't run it all the way to the end to see the results. I use all the settings seen on the video, but only works with the time tested in it.(2023.01.01 - 2024.07.10.)
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Try a different broker.. sounds like an error in the data history set of the broker. do let me know if it didn't work with other brokers as well.
@alihashemi1925
@alihashemi1925 23 күн бұрын
Thank you for providing this course. I have a question: When i set modelling (in Strategy Tester) to ...real ticks ,back test is not profitable. There is a huge difference between selecting (Every tick) and (Every tick based on real ticks) . Why?
@No_Shenanigans
@No_Shenanigans 23 күн бұрын
I think is slippage difference, but I am not 100% sure. I do not believe in backtest data other than an early indication and to see if the EA is working as coded/intended. forward testing is the only real testing. Putting the EA in a demo account and testing and seeing what you like and don't like
@alihashemi1925
@alihashemi1925 22 күн бұрын
@@No_Shenanigans Thank you very much
@No_Shenanigans
@No_Shenanigans 19 күн бұрын
I honestly do not know. i don't believe in either tests. Only forward testing is the real testing. Backtesting is good to have an early feel for how an EA might perform and to check that codes are working as they are supposed to.
@ajayphirke1455
@ajayphirke1455 3 ай бұрын
Hi sir, you have mentioned everything in detail and thank you for helping. However I am getting a error in the code : 'ORDER_TYPE_BUY_STOP' - cannot convert enum Can you please help me with it?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
brother, which part of the code? or when you run the backtest? Without knowing anything in detail, the first guess is in OnTick where you have openposition and openorders check, you might be using order|_type_buy_stop in openposition check and hence the mismatch. can you copy paste your onTick function here?
@ujjwl6797
@ujjwl6797 Ай бұрын
Brother i don't know what I'm doing wrong i wrote the code correctly but in my backtest i clearly notice that the EA open too many orders at the same price level and it also unable to identify highs and lows 😢
@Freeworld213
@Freeworld213 29 күн бұрын
Great video bro, and I will greatly appreciate it if you share the Code ✊
@No_Shenanigans
@No_Shenanigans 21 күн бұрын
@Freeworld213 I strongly suggest to follow the video and code. That way you know the EA inside out and can apply it properly. Just getting the machine gun without knowing how it works is a disaster in making. However, if you just want to get the code, is available on no-nonsense-forex-shop.fourthwall.com/ for a small donation.
@mrRobot152
@mrRobot152 3 ай бұрын
This thing is amazingly accurate 🔥🔥🔥 Why did you post it here for free? Most people would'nt. I'm genuinely curious.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
😁😁.. my wife has the same view, not happy that I shared it 😁😁 I really don't know why I shared it. and why I want to going forward share my other EAs that I have written / learnt / acquired over long 15 years. It does feel like being robbed because it took me 15 years of efforts, and some of the comments here are simple "hey.. where is the code file. Me want code file... NOW!".. is like.. mate, really? 😁 on the other hand, even if 1 million people have the same code and apply the code to trading, it doesn't really take anything away from my own trading. Also was a decision between closing down this channel or sharing my hard-earned EAs as the channel was not doing anything. It still isn't doing anything 😁. so is not completely Altruistic. Also, I am getting old. Take these EAs to the grave with me. that'd be pathetic. hopefully this and the other EAs I will share will live longer than I would. I guess my post mid-life acceptance of mortaility is hitting hard 😁 This EA is good, I have a few others that I like better. Not for the results, but I am more of a swing trader and do not at all like Scalping. I hope these videos do take off some, will be a better feeling to share witha much larger community than just 1k views :)))) will at least feel proud 😁
@MiloSlyvie
@MiloSlyvie 3 ай бұрын
You have a golden heart ❤
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
you humble me. :)
@BlackPharaoh
@BlackPharaoh 3 ай бұрын
@@No_Shenanigans you have got genuine blessings from tons of people, hope you and your family always be happy
@mrRobot152
@mrRobot152 3 ай бұрын
@@No_Shenanigans I am rarely ever speechless. Thank you, me and hopefully the million others who will see it after me; and not just for the robot but also for the exemplary morality you have displayed. May Lord thy God be with thee whithersoever thou goest.
@marcofazzi1185
@marcofazzi1185 3 ай бұрын
thanks for sharing but I need more details how to find low/high by your function
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Brother, the code is fully in there. In coming weeks I will make a separate video to explain in details how the code for finding high/low works. Will also be used in future videos which are swing trading style but based on price structures. Stay tuned.
@EugenePekeur-g7z
@EugenePekeur-g7z 3 ай бұрын
Fantastic tutorial. Really like it💯👌
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks brother. A lot more coming.
@pharqbushtit
@pharqbushtit 3 ай бұрын
Thank you for this tutorial. Would you be able to make a tutorial on how to add filters to this existing scalping strategy such as RSI, moving average, Bollinger bands or MACD filters in the future?
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Is exactly what the plan next is. If you watched the video, towards the end is exactly the plan I have outlayed. The base code in itself took 2 videos of 24 minutes and 55 minutes. Therefore keeping all the additional modifications separate. Some people may want to include them in their code, some maybe not. Then also the tweaks needed to make it work on Bitcoin, Oil, Gold and stock indices. Then an EA on market structures (support levels). and a lot more coming. Stay tuned :)))
@pharqbushtit
@pharqbushtit 3 ай бұрын
@@No_Shenanigans Awesome, I can't wait for future videos. I'll have a look and study your previous tutorials since I like your style of teaching.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Thanks mate.. do bear in mind that some of the previous videos are about converting strategies from KZbin videos from other channels to robot (to learn and practice how to code). I do not vouch for thos strategies. :). so handle with care. :)
@mrRobot152
@mrRobot152 3 ай бұрын
@@No_Shenanigans I cant wait. About a week or so back I decided to quit netflix, movies and all that junk. Honestly, youtube is just as bad, the only thing I look forward to is your posts. I have been back here almost everyday, well everyday to be honest. I sometimes study new things as hobbies like forex of course, programming both backend and frontend, electronics and robotics, macroeconomics, electricity and magnetism; would love to know what Tesla knew, large language models(AI) and now automated forex etc. I don't know what to read or study to kill the time I now have. Do you have any wisdom to share about life in general? Any books to recommend? About anything really.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
Is a good move to get away from all the junk that they are pushing through netflix/movies etc. One of the other commentor @bogdanpralea1728 has offered to help me with a discord channel. maybe if it picks up, you can help us with managing that. (just throwing ideas) I will do my best to keep you occupied with codes after codes :)))))))))) Will also start a Machine Learning series and how we can use AI to help.. That should be a world to dive in. Also I can always use ideas on what to code next and share. One piece of wisdom (if you can call it that) I have tried to impart on my kids is to have 3 kinds of hobbies in their life (besides trying their best to excel in education). 1. That is sports/health oriented. Swimming, tennis, golf, squash anything that keeps you running and competing 2. Creative: to keep our inquisitive juices flowing. Guitar, piano, painting, writing etc 3. Money oriented: Start a hussle, open a youtube channel, do something on fiver, offer tuition, trading etc. something that teaches you the value of effort and value of hard-earned money. and I have different 4th one for my son than my daughter 4. (the world can tell me I am sexist... I am just a father) For son: some fighting skills. Jujutsu, kickboxing etc etc For daugther: some home-making skill. interior decoration, designing, cooking etc But never too old to pick any of these up. To be true to my word and set example to kids I have - Golf and Tennis - Guitar (David Gilmore solos and style) - Trading and KZbin Trying to find courage to join jujutsu as well, but the idea of getting knocked and kicked around is not very appealing :)))) books I am interested in history as history teaches us what to expect. Every idea has been tried before. Why repeat the same mistakes.
@iharu-jp
@iharu-jp 3 ай бұрын
Thank you very much for the video! i just trying to understand the lots. Doing some test here. How do i put fix lots? Or the EA calculate accordingly to account balance? Lets say don't want take a high risk at the beginning and a want a fix lot of 0.01.
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
In the coding in the sendorder functions, we first put a default lotsize of 0.01 and then if risk % is not zero, then system calculate lotsize. you can change the lotsize there to your liking and then leave the riskpercent as zero and the system should pick up the hardcoded lotsize. hope this helps
@No_Shenanigans
@No_Shenanigans 3 ай бұрын
In the coding in the sendorder functions, we first put a default lotsize of 0.01 and then if risk % is not zero, then system calculate lotsize. you can change the lotsize there to your liking and then leave the riskpercent as zero and the system should pick up the hardcoded lotsize. hope this helps
@iharu-jp
@iharu-jp 3 ай бұрын
@@No_Shenanigans Oh ok! Thank you very much.
@No_Shenanigans
@No_Shenanigans 2 ай бұрын
happy to help :))))
@henne6369
@henne6369 22 күн бұрын
Thanks for providing this, but I only get a winrate of 43%. Any ideas why this could be and have you tested it recently?
@No_Shenanigans
@No_Shenanigans 22 күн бұрын
your trailing stop is not working if the code is correct, then your broker is not allowing trailing stoploss so close to the price. Run in visual mode the test and see if trailing stop actually moves once the trade is in profit (by slowing down the slider)
@henne6369
@henne6369 19 күн бұрын
Thanks for the help. You were right! Found the error with the stop loss! I see you are using modelling "on every tick" and not on "every tick based on real ticks", which is supposedly the most accurate. This gives massively different results (all of the sudden not profitable on real vs profitable on every tick). Can I ask about your thoughts on this?
@No_Shenanigans
@No_Shenanigans 19 күн бұрын
i don't believe in either tests. Only forward testing is the real testing. Backtesting is good to have an early feel for how an EA might perform and to check that codes are working as they are supposed to.
The Physics That Doomed Amelia Earhart
36:36
Veritasium
Рет қаралды 2,7 МЛН
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,9 МЛН
كم بصير عمركم عام ٢٠٢٥😍 #shorts #hasanandnour
00:27
hasan and nour shorts
Рет қаралды 9 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 134 МЛН
APIs for Beginners 2023 - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 2,8 МЛН
Strategy with 91% win ratio: tested and EA
27:51
Orchard Forex
Рет қаралды 8 М.
Deep Learning Interview Prep Course
3:59:50
freeCodeCamp.org
Рет қаралды 483 М.
Building a Realtime Video and Chat App in React Native with Stream
3:59:43
Pointers in C / C++ [Full Course]
3:47:23
freeCodeCamp.org
Рет қаралды 4,5 МЛН
DTOs & Mapping : The Good, The Bad, And The Excessive
11:03
CodeOpinion
Рет қаралды 12 М.
Convert TradingView Indicators into Strategies with AI (IT FINALLY WORKS)
21:49
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 1,9 МЛН