First 45 minute breakout streak

Just to simplify the logic here you go = > current 5 minute candle, crossing the closing of any 5 minute candle which has closed above first 45 minute candle close.

really tried any things but not able to plot it on streak strategy.