Hard to say without seeing a code, but my suggestion will be to go to the lower timeframes and apply something like
if (hour(0)==0) cycle, but anyway if a signal would not be generated before the day opening that will be no deal.