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.
You must open the file for reading/writing
Move the cursor to the end of the file before writing.
Do you mean move the cursor to the end of the file? I noticed that it blinks at the beginning of the line when writing.
But how can this be done? I haven't found it in a set of standard commands and functions? Thank you.
Do you mean move the cursor to the end of the file? I noticed that it blinks at the beginning of the line when writing.
How can this be done? I haven't found it in a set of standard commands and functions? Thank you.
https://docs.mql4.com/ru/files/FileSeek
Can you tell me how to correctly pass the time to the iBarShift function? I'm interested in bars which correspond to 00:00 hours.
iTime(NULL, PERIOD_D1,i); // where i is the desired day
Can you tell me how to correctly select a single open position using OrderSelect in order to then OrderModify it?
Doesn't seem to want to, gives error 138( Trying to trailing)
iTime(NULL, PERIOD_D1,i); // where i is needed day
Yes, that's exactly the problem, I don't know how to do a day or hour sweep. PERIOD_D1 will select a new day, but how to extract the time?
I also tried a specific time to do assignment D'00:00:00', in the directory says that you can, but somehow it did not work?
Your broker probably has a limited time to use the demo account. Register a new one.