Hello trader, i have already build the function that will send the market and pending order, i just need someone to write a conditional statement for me that will check if the market has open for the day 10 minute ago, the the function will run and placed the order. and once it is remaining 10 minute for the market to close for the day i want to select the orders by ticket and closed them.
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.
Hello trader, i have already build the function that will send the market and pending order, i just need someone to write a conditional statement for me that will check if the
market has open for the day 10 minute ago, the the function will run and placed the order.
and once it is remaining 10 minute for the market to close for the day i want to select the orders by ticket and closed them.
for example