Select Days for execute EA on MT4

To add comments, please log in or register
Trader1529
198
Trader1529  

Good morning everyone, I wrote an Expert Advisor in MQL4 format, but I want that MT4 use my expert Advisor only in certains days (like Tuesday and Wednesday) but I don't know how to write it.

Can someone please help me?

Ivan Negreshniy
18401
Ivan Negreshniy  
Trader1529:

Good morning everyone, I wrote an Expert Advisor in MQL4 format, but I want that MT4 use my expert Advisor only in certains days (like Tuesday and Wednesday) but I don't know how to write it.

Can someone please help me?

You can check the day from the code of the EA using function DayOfWeek().
Trader1529
198
Trader1529  
Ivan Negreshniy:
You can check the day from the code of the EA using function DayOfWeek().

Ok, thank you

To add comments, please log in or register