Select Days for execute EA on MT4

 

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?

 
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().
 
Ivan Negreshniy:
You can check the day from the code of the EA using function DayOfWeek().

Ok, thank you

Reason: