arrn3g3r / Publications
Forum
Having problems with OrderClose
Hi, I am new to programming MQL4, and have been looking at the MQL4 book examples. I am able to OrderSelect successfully, but when I get to the while function the EA freezes. It also says uninitialized variable for Ticket, and Lot. Any ideas? bool res; res = OrderSelect ( 1 , SELECT_BY_TICKET ); if