Disliked{quote} toscano more than likely you may be having issues with the broker not accepting the request to close all trades. The function tries to close all trades in one swoop and that may be too fast for the brokers requirements. Please send me your log files. you will find then in two folders. Both folders are called logs. First folder is in your main MT4 directory where terminal.exe is. The second folder is under the folder MQL4. Once u get into those logs folders look for the file with the date that the basket was supposed to be closed.Ignored
thank you for your answer.
I have 3 MT4 broker (2 demo and 1 real) and in any place is a folder log.
Thank you.
Leonardo