brouwer89 / Publications
Forum
MQL4 function for the maximum number of open trades
I have an EA which opens a big number of trades (it uses a system similar to grid trading), so when backtesting it, I often get error 148 ( ERR_TRADE_TOO_MANY_ORDERS ) . To avoid this problem, I ask you: is there a MQL4 function that returns the maximum number of open trades, so that I can code this