puncher wrote >>
I would like to run script in the external file under Expert Advisor after the condition is done. Anybody knows how to write code in MQL ?
For example:
if (Period() == 5) { RUN SCRIPT SET_ORDER.MQ4 }
How to modify above code ?
As I remember there is no way to call a script inside EA. The simple way to do is put the code of the script into a single function (whatever as a library or the code of EA itself) and call it as a normal function call.
hmmm wheee :(
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
I would like to run script in the external file under Expert Advisor after the condition is done. Anybody knows how to write code in MQL ?
For example:
if (Period() == 5) { RUN SCRIPT SET_ORDER.MQ4 }
How to modify above code ?