A few modifications would be necessary.
Lines 138 to 145 where the entries are being submitted in OnMarketData(), this would need to be moved to OnBarUpdate().
Then entry conditions (currently line 138) would need time conditions added.
if (longStopEntry == null && shortStopEntry == null && ToTime(Time[0]) == 93800)
Below is a link to an example of time conditions.
Comment