
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
I am still stuck at "error opening the file 4103".
Does any one has fix for this please ?
I am still stuck at "error opening the file 4103".
Does any one has fix for this please ?
where is this file located ? Path ?
It seems that the file which MetaTrader 4 tries to open is locked by another application (a some program opened this file and still keeps).
My MT4 path:
C:\Program Files\MetaTrader 5\MQL5\Files\METATRADER4
Still same error.
amir_avatar,
are you able to copy trades from any of these championship trades to your live account ? and are the trades copied close to their results ?
This is great tool, working as intended, makes me stay with mt5 for sure.
Regards
John
I get these warnings when compiling. Granted, they are just warnings and not errors.
Compiling 'Copyist_positions.mq4'...
'cmd' - comparison expression expected C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts\Copyist_positions.mq4 (120, 46)
'cmd' - comparison expression expected C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts\Copyist_positions.mq4 (122, 46)
0 error(s), 2 warning(s)
The above refers to these two lines of code:
//--- open price
double price_open(string symbol,int cmd) {if(cmd%2)return(bid(symbol));else return(nd(symbol,ask(symbol)));}
//--- close price
double price_close(string symbol,int cmd){if(cmd%2)return(ask(symbol));else return(nd(symbol,bid(symbol)));}
I'm thinking that "if(cmd%2)" should be changed to "if(cmd<2)" , but I'm not sure.
I get these errors when running the above script in MT4
2013.02.26 06:16:38 Copyist_positions EURUSDm,H1: Error opening file 4103
2013.02.26 06:16:38 Copyist_positions EURUSDm,H1: ArrayInitialize function internal error
Here is the path I used to install Metatrader 4 and used to the run script:
C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts
It looks like a few people are having the same problems. Any help on how to fix the problems or a new clean version of the file would be appreciated.
I get these warnings when compiling. Granted, they are just warnings and not errors.
Compiling 'Copyist_positions.mq4'...
'cmd' - comparison expression expected C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts\Copyist_positions.mq4 (120, 46)
'cmd' - comparison expression expected C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts\Copyist_positions.mq4 (122, 46)
0 error(s), 2 warning(s)
The above refers to these two lines of code:
//--- open price
double price_open(string symbol,int cmd) {if(cmd%2)return(bid(symbol));else return(nd(symbol,ask(symbol)));}
//--- close price
double price_close(string symbol,int cmd){if(cmd%2)return(ask(symbol));else return(nd(symbol,bid(symbol)));}
I'm thinking that "if(cmd%2)" should be changed to "if(cmd<2)" , but I'm not sure.
Here is the path I used to install Metatrader 4 and used to the run script:
C:\Program Files\MetaTrader 5\MQL5\Files\Metatrader 4\experts\scripts
It looks like a few people are having the same problems. Any help on how to fix the problems or a new clean version of the file would be appreciated.