use other name instead of start. for example:
first_ea
#import "another_ea.ex4" int start_from_outside(); start() { datetime certainTime; //e.g. 7:00 AM if(Time[0]==certainTime) { start_from_outside(); } }
another_ea
int start() { start_from_outside(); return(0); } int start_from_outside() { // your code here }
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 can I start an ea from a currently running ea at a certain time?
I tried this, but it did not work:
A problem might be that the start()-Funktion is defined twice.
I cannot access the source code of "another_ea.ex4", because I do not have the mq4-file.
Additionally I need to call the other ea with calculated settings like an indicator via iCustom(...).