Synax писал(а)>> Please advise! How to make my Expert Advisor run every 30 minutes starting at 00.00 and ending at 23.00. One minute it works, and then again in 30 minutes. Thanks in advance!
I.e. my advisor opens 5 BUY orders and should close 5 BUY orders too but it closes only 4 or 3 for some reason I have not understood the reason why it decides how many orders it will close
Question. Is it possible to use OLE objects in the tracker? I searched the forum and found out that I have to create a dll wrapper. Are there simpler ways to do this?
I don't want to close all orders, what might be the problem?
I.e. my Expert Advisor opens 5 BUY orders and should close 5 BUY orders too but it closes only 4 or 3 for some reason I do not understand what principle it uses to decide how many orders to close
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.
Please advise! How to make my Expert Advisor run every 30 minutes starting at 00.00 and ending at 23.00. One minute it works, and then again in 30 minutes. Thanks in advance!
Use
How do I know the time of the next bar?
The task is to display a text object to the right of the zero bar. What time should I specify?
How do I know what time the next bar is?
Time[0] + Period() * 60
Friends, good afternoon.
If you get a chance, please advise on how to deal with these difficulties:
https://www.mql5.com/ru/forum/118878/page3
https://forum.mql4.com/ru/27282
Thank you very much in advance.I've come across it more than once. And every time in the end a simple reason was found.
I'll look into it. Just a thought - maybe it has something to do with the default settings in the template or profile.
Question about order closing
My code does not want to close all orders, what might be the problem?
I.e. my advisor opens 5 BUY orders and should close 5 BUY orders too but it closes only 4 or 3 for some reason I have not understood the reason why it decides how many orders it will close
Please give advice or help in code.
Thank you
Question about order closing
I don't want to close all orders, what might be the problem?
I.e. my Expert Advisor opens 5 BUY orders and should close 5 BUY orders too but it closes only 4 or 3 for some reason I do not understand what principle it uses to decide how many orders to close
Please help me with advice or code.
Thank you
Reverse cycle to close
Do the closing cycle in reverse
Thank you it all worked only now to understand why it works and another does not work (does not work correctly)