I'm not sure if this has already been addressed but has anyone noticed the order selection error (4108) in the last version of HSA?
2019.10.11 18:42:06.919 2019.09.27 06:55:40 Hybrid Stochs Adaptive Current USDJPY,M1: OrderClose error 4108
2019.10.11 18:42:06.919 2019.09.27 06:55:40 Hybrid Stochs Adaptive Current USDJPY,M1: unknown ticket 230 for OrderClose function
https://www.mql5.com/en/forum/139592
Usually caused by incrementing instead of decrementing the OrderSelect loop or by not checking to see if the order has already been closed or a new one has yet been opened, allowing an invalid ticket.
The fix should be relatively straightforward.
2019.10.11 18:42:06.919 2019.09.27 06:55:40 Hybrid Stochs Adaptive Current USDJPY,M1: OrderClose error 4108
2019.10.11 18:42:06.919 2019.09.27 06:55:40 Hybrid Stochs Adaptive Current USDJPY,M1: unknown ticket 230 for OrderClose function
https://www.mql5.com/en/forum/139592
Usually caused by incrementing instead of decrementing the OrderSelect loop or by not checking to see if the order has already been closed or a new one has yet been opened, allowing an invalid ticket.
The fix should be relatively straightforward.