Deleting pending orders with time filter
-
I have an EA generating sell limit pending orders. the problem is that I want to keep only 2 of them ( the most recent ones) and delete the older ones as those levels are no valid anymore. I have tried to use 'delete pending orders' block but it doesn't have the feature to filter deleting orders by the time they have been put on the chart.
-
You can loop through all the pending orders and skip the first XXX and then delete.

-
@cmuphyfx Thank you so much for the help I think this works. I'll let you know about the result. thanks