SELECT_BY_TICKET looks at both Active Trade and History.
Surely this must be considered a bug especially if MODE_TRADES is explicitly selected - which shouldn't be necessary anyway as the documentation states that this is used by default. When I enountered this bug (which it is...), none of the work-arounds suggested in this thread fixed the problem but it can be circumvented with the OrderCloseTime command.
Does anyone know what Metaquotes official stand is with this???
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.
SELECT_BY_TICKET looks at both Active Trade and History.
SELECT_BY_TICKET looks at both Active Trade and History.
Surely this must be considered a bug especially if MODE_TRADES is explicitly selected - which shouldn't be necessary anyway as the documentation states that this is used by default. When I enountered this bug (which it is...), none of the work-arounds suggested in this thread fixed the problem but it can be circumvented with the OrderCloseTime command.
Does anyone know what Metaquotes official stand is with this???