after I have called OrderSelect, a couple of instructions later (like OrderType, OrderSymbol, ...) I am calling OrderProfit and I doubt this call returns the correct information. Therefore my query goes - all of these Orderxxx are supposed to be performed on a 'selected order'. I do not suppose once I do an OrderSelect on a specific order that one remains 'selected' for keeps (or until the next OrderSelect call). So for how long can I expect an order to remain 'selected'?
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.
Hi MQLers,
after I have called OrderSelect, a couple of instructions later (like OrderType, OrderSymbol, ...) I am calling OrderProfit and I doubt this call returns the correct information. Therefore my query goes - all of these Orderxxx are supposed to be performed on a 'selected order'. I do not suppose once I do an OrderSelect on a specific order that one remains 'selected' for keeps (or until the next OrderSelect call). So for how long can I expect an order to remain 'selected'?