| / | Forum |
|
forexman05
2010.09.29 23:21
If I am running multiple instances of MetaTrader and one is logged into a demo and the other a live account, can I use an EA on the demo to set a globalvariable that my live account EA will recognize? I thought this might work as they are running from the same terminal on the computer???? Any info/confirmation would be greatly appreciated! Thank you forum..... Daniel
|
|
The article deals with programmed tracking of events in the МetaТrader 4 Client Terminal, such as opening/closing/modifying orders, and is targeted at a user who has basic skills in working with the terminal and in programming in MQL 4. |
2030 |
gordon
2010.09.29 23:52
forexman05: [...] as they are running from the same terminal on the computer???? [...] But they are not... To have 2 Terminals running at the same time u must install 2 instances of MT4, each in it's own directory. Here is a good list of possible solutions to your problem by 7bit -> http://forum.mql4.com/34987#367597. |
|
forexman05
2010.09.29 23:57
gordon: But they are not... To have 2 Terminals running at the same time u must install 2 instances of MT4, each in it's own directory. Here is a good list of possible solutions to your problem by 7bit -> http://forum.mql4.com/34987#367597. Thank you! Unfortunately, that gets a little above my head-I am not a programmer. I have tried to learn mql and use this forum to "borrow" good code and ideas and then make the code do what I want it to :) I truly appreciate your feedback! |
|
asagi
2010.09.30 10:51
GlobalVariable will not work across different MT4 instances. You need some form of communication (file, message, DLL) between between different MT4 instances.
|
|
gabriel3
2010.09.30 22:34
forexman05: If I am running multiple instances of MetaTrader and one is logged into a demo and the other a live account, can I use an EA on the demo to set a globalvariable that my live account EA will recognize? I thought this might work as they are running from the same terminal on the computer???? Any info/confirmation would be greatly appreciated! Thank you forum..... Daniel save the parameter in a text file |