Reply

EAWizzard: Time filter for month and day

4 replies

Diwi

Customer, bbp_participant, community, 49 replies.

Visit profile

5 years ago #233611

I search for the ‘If area’ a time filter to tell the ea that he may not open new positions between 15 December and 08 January?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #233662

Hello,

it is currently not possible to exclude specific period in EA Wizard using built-in functions. You would need to use custom MQ4 code for it. Let me know if any questions

0

Diwi

Customer, bbp_participant, community, 49 replies.

Visit profile

5 years ago #234813

Hi,

Unfortunately, I’m not a programmer. I’m not familiar with the code.

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

5 years ago #234825

Hello,

you can send me your EA and I can modify for you to [email protected] or you can use this simple code in final EA code right before the entry rule after int start() function to eliminate entries in July 2018

datetime limitStart=D’2018.07.01 00:00′;
datetime limitEnd=D’2018.07.31 23:59′;

if (TimeCurrent()=>limitStart AND TimeCurrent <= limitEnd) return;

0

Diwi

Customer, bbp_participant, community, 49 replies.

Visit profile

5 years ago #234852

Oh, thank you very much.

I will try it. 🙂

0

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