Discussion of article "How to Copy Trading from MetaTrader 5 to MetaTrader 4" - page 5

 

Thank you Raminzk!! You helped me so much!

I had little problem with command "mklink" on Windows Server 2012. I recieved this message "The term 'mklink' is not recognized". 

If someone have same problem, write command like this: cmd /c "mklink /D c:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\01BA5EF0D3A9B913D6D3829DD4594A7F\MQL4\Files\Link2MT5_DataFolder c:\Users\Administrator\AppData\Roaming\MetaQuotes\Terminal\AA82CE0AC7C62FBE1F51AB464A314D34\MQL5\Files\"

 
Hello! 

That would be my question would be solved if you can open the MT5 Buy Tred Tred open MT4 Sell and vice versa.
Thanks.

 
How do I  will tramfer Ea 4 to be  Ea 5? I try complie but not success?
 
raminzk:

........

The command would be something like this:

mklink /D "C:\Users\Ramin\AppData\Roaming\MetaQuotes\Terminal\50CA3DFB510CC5A8F28B48D1BF2A5702\MQL4\Files\Link2MT5_DataFolder" "C:\Users\Ramin\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5\Files"

You can easily copy these 2 long addresses from address bar when you run "open data folder" item of each terminal from file menu.

The name "Link2MT5_DataFolder"  refers to a virtual folder witch you can select it as copyist_positions_V2 parameter. BUT make sure the name you select as expert parameter and the name you use in command line are the same.

.......


Rather than making virtual folder (mklink), now it is more easy to use common folder by adding |FILE_COMMON to FileOpen(...) function.
 
expression not boolean Copyist_positions_V2.mq4 120 49
expression not boolean Copyist_positions_V2.mq4 122 49
sign mismatch Copyist_positions_V2.mq4 483 30
0 error(s), 3 warning(s), compile time: 484 msec  1 4
 
here i am receiving error 5002