Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 615

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
How to call (start) another MQL4 EA from one MQL4 EA (no source code compiled in MQL4) and if necessary force it (another EA from the first one) to stop ? The interaction of global variables between them is excluded.
1. open the chart of the desired pair and apply the template with the EA without source code.
2. Apply the template without the EA.
1. open the chart of the desired pair and apply the template with the EA without source.
2. Apply the template without the EA.
You did not understand the question - you need to call from the code of one EA to another compiled EA already hovering (or not) on the chart. For indicators, it is possible, but for expert advisors?
And there is no such feature built in for the EA. So see here..:
Forum on trading, automated trading systems and strategy testing
Any questions from newbies on MQL4, help and discussion on algorithms and codes
Alexey Viktorov, 2018.09.08 08:57
1. Open the chart of the desired pair and apply the template with the EA without source.
2. To apply a template without the Expert Advisor.
And there is no such feature built in for the EA. So see..:
I will try. Thank you.
You haven't said anything specific, so Alexei has only given you a possible course of action. But it looks like you need to exchange data between the two EAs. Just running the second EA in a new window will not help if it is in closed code.
I will give it a try. Thank you.
Write the indicator and the conditions in the indicator and drop it onto the chart:
This way the indicator will load the required pre-created template with the EA
Write the indicator and the conditions in the indicator and drop it onto the chart:
This way the indicator will feed the required pre-created template with the EA