I've seen something similar in MT4. Infrequently, it thinks the order is pending, but has actually opened. So delete fails at the broker, and you can't close because it thinks it's pending.
Restart the terminal.
I identified the problem.
I had it after changing to a different monitor, so the problem is the window is outside of the new monitors space.
To fix the problem open MT4 and click on FIle -> Open Data Folder
Navigate to the config folder and open the terminal.ini file.
Look for the following 4 lines:
Dlg_202_left=somerandomnumber
Dlg_202_top=somerandomnumber
Dlg_196_left=somerandomnumber
Dlg_196_top=somerandomnumber
change it to :
Dlg_202_left=1
Dlg_202_top=1
Dlg_196_left=1
Dlg_196_top=1
Save the file and restart MT4.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use