OrderModify error 130

 

Hi, currently i were doing moving SL and TP function. But i were no ideal why i keeping get OrderModify error 130 . From below is those value i capture from my log file.

Trade Position : SELL
Symbol : XAUUSD

Trade Position

Open = 1686.34
SL = 1689.95
TP = 1676.15

Moving SL and TP

Open = 1686.34000000
SL = 1686.90000000
TP = 1666.15000000


Thanks

 
foongshen:

Hi, currently i were doing moving SL and TP function. But i were no ideal why i keeping get OrderModify error 130 . From below is those value i capture from my log file.

Trade Position : SELL
Symbol : XAUUSD

Trade Position

Open = 1686.34
SL = 1689.95
TP = 1676.15

Moving SL and TP

Open = 1686.34000000
SL = 1686.90000000
TP = 1666.15000000


Thanks


What's the market price when you try to change your SL/TP (1686.90/1666.15) ? What is the value of STOP_LEVEL ? FREEZE_LEVEL ?

See here : Requirements and Limitations in Making Trades.