Reply

How to call scripts in the code made with SQ EA Wizard?

6 replies

Zoki

Subscriber, bbp_participant, community, 18 replies.

Visit profile

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

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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

0

Zoki

Subscriber, bbp_participant, community, 18 replies.

Visit profile

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

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #234329

Hello,

can you share the code? I can try to implement using EA Wizard

0

Zoki

Subscriber, bbp_participant, community, 18 replies.

Visit profile

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

 

0

Zoki

Subscriber, bbp_participant, community, 18 replies.

Visit profile

5 years ago #234343

In fact, I have all 3 scripts in *.ex4 format. I hope they can be called from the code too.

Z

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

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]

0

Viewing 6 replies - 1 through 6 (of 6 total)