EAWizzard: Time filter for month and day
4 replies
Diwi
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?
tomas262
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
Diwi
5 years ago #234813
tomas262
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;
Diwi
5 years ago #234852
Viewing 4 replies - 1 through 4 (of 4 total)