I'm having trouble with the following code:
The Prints return empty when there are Pending Orders placed. I don't know what I'm doing wrong.
Could someone help me?
Have you read the documentation ? OrderSelect() takes a ticket number as parameter. 0 is not a valid ticket number.
Found the problem.. the input for OrderSelect() is the ticket and not the index number... I just had to change it for OrderGetTicket(0);