This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Setting what days to trade


Back to topics list
avatar
1
paul9406 2010.05.13 15:14 

Hi All,


I am trying to set on which days to trade and which days not ie do not trade Friday, I have searched the forum but failed to find the answer if anybody could point me in the right direction please do.


Thanks


Paul

avatar
80
cloudbreaker 2010.05.15 14:54 

if ((DayOfWeek() != 5) && (DayOfWeek() != 6) && (DayOfWeek() != 7))

{

...go trading...

}

Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets