Campus Forex
Senin, 26 November 2012
day of the week
Here is code function which can be used say when ea needs to trade only during certain hours of the day and skip of certain day of the week :
Code:
bool ValidTime()
{
if (DayOfWeek()==1 && Hour()<=6) return(false);
return(true);
}
Tidak ada komentar:
Posting Komentar
Posting Lebih Baru
Posting Lama
Beranda
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar