Hi,
Say I have a ticket using a magical number of 12345 ... how can I close this ticket?
I was hoping someone can give me the snippit of code as Im just getting into mql4 coding and could really appreciate it!
Thank You!!
Hi,
Say I have a ticket using a magical number of 12345 ... how can I close this ticket?
I was hoping someone can give me the snippit of code as Im just getting into mql4 coding and could really appreciate it!
Thank You!!
Inserted Code for(int x=0;xlt;=OrdersTotal();x ) OrderSelect(x,SELECT_BY_POS,MODE_TRADES); if(OrderMagicNumber() == 12345) OrderClose(OrderTicket(),OrderLots(),OrderClosePri ce(),3,CLR_NONE);