I've developed a strategy that places pending orders (EnterShortLimit and EnterLongLimit) at certain prices and I place SL and TP using SetStopLoss and SetProfitTarget methods.
The problem is that once pending order becomes market and SL/TP are placed, I want to be able to move SL and TP using DOM, but when I do that, both SL and TP reset to the same price they were initialized no matter how many times I try to move them. Is this some kind of limitation or is there a workaround for this? Or maybe I'm just being stupid and I've set to refresh SL/TP somewhere (I've checked it many many times, I swear).

Comment