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
#include the common_functions.mqh and then the entire problem will be reduced to a one-liner: closeOpenOrders(-1, -1);
Amm my include folder does not contain common_functions :( help? :P
Amm my include folder does not contain common_functions :( help? :P
it mean.... no one can help you there must be something else messing up.... this code it to simple to fail.... ive tried again 10+ 50+ 90+ opened orders... random direction.... 4 demo brokers .... just keep shooting em down.
I've entered the exact same code:
saved it in experts -> scripts. Then when I open my MetaTrader4 platform, I click on Scripts -> then on the saved script twice and it doesn't clear nothing, nothing starts...
Thanks for your time,
Vatco
closes all orders irrespective of on which chart the script was opened
https://www.mql5.com/en/code/7607
Thanks for the link sxTed I'll read it tonight and post if it solved my problems.
Could u do me a favor, tell me what mt provider u use???
Sorry about that nicewaznego, I removed it by mistake in a previous post.
I have MetaTrader-EXNESS
Version: 4.0 Build 402
(11 May 2011)
Thanks for your help!
have u got mini account with them????
am not sure but the problem might be in that suffix they use /if mini/ (symbol()+m).
any one can confirm this, am interested my self.