Just question about OrderClose()?

 
plz tell me can i close an order for a paire that's not in the chart how is the EA attached?
 

Please be more specific, what you want to achieve.

Do you want to close an order thats opened maually ?

 
izmnaari:
plz tell me can i close an order for a paire that's not in the chart how is the EA attached?

OrderClose()
 
knatterton:

Please be more specific, what you want to achieve.

Do you want to close an order thats opened maually ?


i have an EA how open two order buy in the same time one in the chart for "eurusd" and another in "audusd" but the problem is when i wanna close the tow order.and a message tell me that ""invalid ticket for OrderClose function"
 

show the relevant code & we will try to help u

Reason: