You would have to set up some some sort of communication link between the two, or you can write the parameters to a file oninit and have the other EA look for that file and if it exists read the parameters.
You could also use global variables of the terminal.
Global variables of the client terminal are accessible simultaneously from all mql5 programs launched in the client terminal.
- www.mql5.com
You would have to set up some some sort of communication link between the two, or you can write the parameters to a file oninit and have the other EA look for that file and if it exists read the parameters.
You could also try to use global variables of the terminal as those can be seen by all applications.
Ok, those global variables would be working on the account but different terminals (PC/VPS)?
On the same trading terminal.
I am not sure what you are trying to do but if you want to communicate between trading terminals then you have to set up a network link.
https://www.mql5.com/en/articles/115- www.mql5.com
On the same trading terminal.
I am not sure what you are trying to do but if you want to communicate between trading terminals then you have to set up a network link.
https://www.mql5.com/en/articles/115Huh, this is a bit complex. I want to load RiskFactor parameter from AutoRisk tool on PC from CloseAgent (for closing positions) into the VPS. This is running under the same account but different terminals.
You can not exchange information between accounts other then the standard trading functions.
If you mean that you want to change a parameter for an EA that is running on a MQL VPS then you have to change the parameter on your desktop terminal first, and then migrate the new environment to the MQL VPS so that it takes on the new parameter setting.
- www.mql5.com
You can not exchange information between accounts other then the standard trading functions.
If you mean that you want to change a parameter for an EA that is running on a MQL VPS then you have to change the parameter on your desktop terminal first, and then migrate the new environment to the MQL VPS so that it takes on the new parameter setting.
I was talking about loading input parameters, some kind of info exhange between two advisors running under the same account.
Two EA's running under the same account but not on the same terminal.
If you are building a hybrid system or a semi-automated EA then you need to set up specific remote control functionality (in multiple EA's source,target etc. ) to be able the interface with the different elements of the system.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use