Help required for AmiBroker code

Help Required scanning the scripts .

Condition as Below

In case first 15 mints candle high or low broken any side . if 15 candle high is Broken, then breakout candle high should be days high and Breakout candle low should be Low for the day.

if breakout candle High if again broken during the day, or Low Broken candle low again broken during the day can be ignored

Please Help in coding..

Members here would have lovingly solved this, if you could show just a bit of effort from your end.

In fact, this query (or similar to this) have been repeatedly asked in this forum which were solved in the past too - please use the search - like this one.

There are many ways to achieve this. If possible, share what you have tried.