Download MetaTrader 5

Need help with OrderModify()

To add comments, please log in or register
Forex Trader
114277
Forex Trader  

- I open a multi lot order with OrderSend().

- I Ordermodify() it with no problem.

- I close out 1 lot with OrderClose().

- Now when I try to modify the order which still has the remainder of the lots, I get an "unknown ticket for OrderModify() function"


The ticket is open, OrderTicket() continues to return the same #, but OrderModify() continues to return the invalid error.


Any help would be GREATLY appreciated.

Forex Trader
114277
Forex Trader  
Lou. If, as you say, help is "greatly appreciated", then try saying "Thanks" both on this forum and on the MQL forum. Example, your question on here about global variables. CB
To add comments, please log in or register