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.
I just started writing code in mql5.
everyday i am trying to write an EA that will only create BUY and SELL Orders.
and when one of the Orders runs, it deletes the other.
If there is a today deleted Order in History, I want it not to place a new order.
This means that it cannot place new orders until tomorrow.
IF LAST HISTORY ORDER DATE < BEFORE TODAY continue.
Thank you.