EAWizzard: Time filter for month and day
4 replies
Diwi
8 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
Tomas Matejka
8 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
8 years ago #234813
Hi,
Unfortunately, I’m not a programmer. I’m not familiar with the code.
0
Tomas Matejka
8 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
8 years ago #234852
Oh, thank you very much.
I will try it. 🙂
0
Viewing 4 replies - 1 through 4 (of 4 total)