11:00 one hour bar

 
How can I check if the 11:00 one hour bar has appeared after the tick?
 
bool flag=false;
...
   if(!flag && TimeHour(Time[1])==11)
     {
      flag=true;
      Alert("Wake Up!!!");
     }


Reason: