EA time based entry

 

Hi Everyone,

I was wondering if anyone could point me in the right direction for adding some EA code that will only trade certain times of the day.

What is recommended as the better times of the day to trade? Does it depend on the pair you are trading?

Many thanks

 

thanks newdigital,

the reason I asked, was because I only want my EA to trade during volatile periods.

Many thanks

Sull0078

 
sull0078:
Hi Everyone,

I was wondering if anyone could point me in the right direction for adding some EA code that will only trade certain times of the day.

What is recommended as the better times of the day to trade? Does it depend on the pair you are trading?

Many thanks

Check with this section. It should be some template there (one or two) with the code of EAs' working hours. I posted one template and some people posted other one or two, and Codersguru answered the question about it and so on.

Reason: