Broker dependent (some allow 100, some 1000). There is was no MarketInfo, you had to stop when OrderSend returns error ERR_TRADE_TOO_MANY_ORDERS
AccountInfoInteger(ACCOUNT_LIMIT_ORDERS);
qjol:
AccountInfoInteger(ACCOUNT_LIMIT_ORDERS);
According to the reference, that applies to pending orders
"Maximum allowed number of active pending orders (0-unlimited)"
it's a typo issue but this is the right function contact service desk to fix it
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello,
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.