OrderModify and OrderStopLoss delay issue

 

Hello,

if I modify the stoploss or takeprofit with OrderModify in MT4, and afterwards I call OrderStopLoss immediately, then the result is the previous stoploss before modification. Is there any delay before OrderStopLoss will show the new value?

 
Dmitry Zhakov:

Hello,

if I modify the stoploss or takeprofit with OrderModify in MT4, and afterwards I call OrderStopLoss immediately, then the result is the previous stoploss before modification. Is there any delay before OrderStopLoss will show the new value?

You have to re-select the order before OrderStopLoss() etc will be updated.

Reason: