READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

How to enable EA only in NY market?

7 replies

Jeffrey78

Subscriber, bbp_participant, community, 4 replies.

Visit profile

10 years ago #115683

Hi bro!

 

how to write for EA only running in NY market? 

 

Thank you 🙂

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #139832

Hello,

 

I am not sure what you mean? Can you be more specific?

0

Jeffrey78

Subscriber, bbp_participant, community, 4 replies.

Visit profile

10 years ago #139840

hello Tomas262,

 

Thank you for your reply.

 

I have an EA, it will auto trading unless i clicked disable auto trading button.

i need it to run from 10am to 12am, after 12am EA will be stop running. What code should i add into mql4?

 

Thank you.

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #139858

If you have already created EA as mq4 file you would have to directly edit the code as it cannot be imported into EA Wizard. Let me know if you would like to see an example in Wizard for this

0

Jeffrey78

Subscriber, bbp_participant, community, 4 replies.

Visit profile

10 years ago #139860

yes it is mq4 file. please give me an example code to edit for it . 🙂

 

like …

 

 if (???????????()) {
      Alert(” time out “);
      //return (0); }

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #139862

Hello,

 

it is discussed in details here. Have a look https://forum.mql4.com/43177

0

Jeffrey78

Subscriber, bbp_participant, community, 4 replies.

Visit profile

10 years ago #139928

Hi, tomas262 ,

 

 

 my EA will open a lot of order if market ranging, how to limit it to max 3 order for certain currency pair. ?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

10 years ago #139936

Hello,

 

if you mean how to code it into EA mq4 source code there is a good example also on their forum (https://www.mql5.com/en/forum/119059). You cna use OrdersTotal() function. This can be easily done using EA Wizard

0

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