I placed the EA on demo account and found out that it checks every order in the account history, that leads to delay and on a couple of occasions the order wasn't place at all.
Coding or connection problem. checking history doesn't take time. and you could count down.
Your reading out of a buffer. After the order closes, after any server side calls, you MUST RefreshRates() to get current data. Also hstTotal is not updated.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
how to make this happen please tell!!!
It doesn't work. I've been trying the entire weekend but it doesn't wait for 5 minutes....
I've also tested using MA(1) & MA(2).
Ideally it should wait before executing the next trades but it doesn't. What's wrong in the above code.. :(
I got it finally....
Thanks everybody for your help...
Regards,
Rohit
I placed the EA on demo account and found out that it checks every order in the account history, that leads to delay and on a couple of occasions the order wasn't place at all.
Your reading out of a buffer. After the order closes, after any server side calls, you MUST RefreshRates() to get current data. Also hstTotal is not updated.