I think I found a bug about command "ordermodify"

 

Hi,

When I use Oanda MT4 practice account, When I change TakeProfit using "ordermodify", I found that magicnumber has been changed also. The conditions are :

1. Open sell order only. This bug will not occur on open buy order.

2. new takeprofit value is very close to old takeprofit value, such as MathAbs(new_tp - old_tp) < 0.00002

3. after ordermodify is succeed, the magic number will be changed to a very big negative number,such as ffffffffccccc(hex).

Any support can confirm it?

thanks,

sleepflyer

Reason: