Forum

OrderModify error 4108 after partial profit taking

Hello, I am trying to modify stoploss using the ordermodify function after partial profit taking in MQL4, but I keep receiving error 4108. All the variables have been declared without any errors. Thanks in advance for your help. else //else if you already have open orders, update your take profit