Same thing described happened today when using "flatten" totally reversed trade. Was surprised and pos went green so I flatten again and reverse again. Had to market out for loss. Only happened on one account. Significant problem with Apex/Rithmic.
To the people this is happening to: Are you running R Trader Pro along with MW?? If not, I would HIGHLY recommend doing so as it will save you a lot of grief and confusion.
I have certainly seen cases where my profit target or my stop was hit and the DOM on MW is still showing me in a trade - Which can cause great confusion.
BUT I have never seen the trade actually not exit. If I go check R Trader Pro, it shows me "out" of all positions.
First thing I do when I get out of a trade is make sure R Trader Pro shows all "zeroes" and all orders are closed... If for some reason MW doesn't agree with that, I just hit the refresh button on the orders tab of the account page and it will clear itself out. See below a screenshot for that refresh button.
This does seem to be a bug in reporting completed trades to MW or something, but just handling it this way has cleared up any problems I was having (With the trade copier as well).
For instructions on how to connect via R Trader Pro you can go here:
docs.motivewave.com