
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
Don't double post! You already had another thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum (2017)can some one help me the EA keeps telling me maximum allowe opened order reached
Assuming that your function returns correct values and your variable has the correct value......
it should not be <= because if orders are = limit, one more will exceed the limit.
Also note that some brokers will not have a value set for the limit, so you need to check for this.
if(limitOrders==0 || limitOpenOrders() < limitOrders)
I have deleted your duplicate topic.