i dont find a code for how to get the maximal allowed open orders amount for the MT4 terminal that i use.
I want to let my EA stop trying to open new orders when the maximal amount of open orders is reach.
According to the reference, that applies to pending orders
"Maximum allowed number of active
pending orders (0-unlimited)"
To add comments, please log in or register