I've noticed an issue with OrderSelect and OrderHistory
Did some tests, and sometimes when I'm writing the data to a file,
changing account and writing again, it still writes the data from the
previous account.
I guess it's due to MetaTrader's limitations - as I understand it,
the history is saved in the memory, so it might take it some time
before it's replaced with the new account?
Please correct me if I'm wrong. And how do I overcome this flaw?
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've noticed an issue with OrderSelect and OrderHistory
Did some tests, and sometimes when I'm writing the data to a file, changing account and writing again, it still writes the data from the previous account.
I guess it's due to MetaTrader's limitations - as I understand it, the history is saved in the memory, so it might take it some time before it's replaced with the new account?
Please correct me if I'm wrong. And how do I overcome this flaw?