Need help with OrderModify()

 

- 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.

 
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