Streak Strategy Based on candle time

Hello, 

Please support me in creating a streak strategy that triggers based on below condition

Intraday Trading
Candlestick Time Frame : 5 Min
Candle time : 11.00 AM

When the stock price closed above the high of 11 am candle , then BUY
SL : Low of 11.00 AM candle 

When the stock price closed below the low of 11 am candle , then SELL
SL : High of 11.00 AM candle