How to detect weekly inside bar candle breakout in daily timeframe?

#1
I tried with code, that finds weekly inside bar with NR7. I need to detect where in daily, the candle breaks the range of weekly inside bar.
I could not find the exact daily candle for that. Need some help on this.