MT4 Time range entry point

 

Hi,

Im currently trying to create an EA which i have 70% done. This EA will use a Markets day trading hours  (for example, the ftse day trading hours) only with the entry points being the High/low of this period and opening of this market being below/above the high/low from the previous days range (day hours only). For example;

Previous days range(8am-6pm) using hourly bars..lets call this H1.

Rule would be;

 if open < high of H1, buy 1 contract at High of H1 

 if open > low of H1, Sell 1 contract at Low of H1

Is this possible to program into the EA, ive found a number of indicators that specify these trading hours...maybe these could be used?? Any advice/help would be much appreciated.

Reason: