Kostas Kritsotakis / Publications
Forum
Help with a function to delete pending orders by magic number
Hello, I am building an Expert Advisor and need help with one function. I need a function called DeletePendingOrders that loops through all pending orders and deletes any that match my EA's magic number. Can you please show me the correct code for this function and where to put it in my EA? Here is