How to call scripts in the code made with SQ EA Wizard?
6 replies
Zoki
5 years ago #234293
I want to use a script, to call it from the code. For instance: IF indicator condition THEN run script.
Can we do this in EA Wizard and how?
I didn’t find any information about this in the forum, so I started new topic. If there is already any such info here, please tell me.
Thank you!
Zoki
tomas262
5 years ago #234325
Hello,
this can be easily done, what should the script do? You can run custom MQL4 code using Action -> Custom Action -> add MQL4 code
Zoki
5 years ago #234326
Hi Tomas,
I got 3 scripts, which close:
– all trades
– all profits
– all losses
I want to use IF THEN, so if condition of indicator is fullfilled, then I run a script to close all trades.
I’m using my own code in my every EA, to open non-limited trades. For now, I close them with one trailing stop EA, but then I lose some pips, so I want to close all trades on one chart (one pair) when condition is reached.
Thank you,
Zoki
tomas262
5 years ago #234329
Zoki
5 years ago #234340
I can’t share something I got in public topic in Forum. You have to tell me first how to send properly.
Thank you,
Zoki
Zoki
5 years ago #234343
tomas262
5 years ago #234358
EA Wizard can call EX4 file once you defined inputs/outputs (considering it is an MQL4 indicator). You can post more details to [email protected]
Viewing 6 replies - 1 through 6 (of 6 total)