DislikedThe problem is not caused by EA. It's impossible to change partially closed order even manually.Ignored
However the balance of the original order, 0.6 lot, has been put into a NEW order that is LIVE (e.g. order #3000002). This is how an ECN broker like MBT handles partial closes, and so your EA better be written so that it detects and handles such things. My last post suggests to incorporate OrderComment() and that's how I think it can be done.
Good luck.