Maximum iterations please help

Hello

I have an indicator that sends me push notifications every time I get an X amount of consecutive low/high bars. The problem with the indicator is that it keeps sending me notifications for every tick after the alert condition has been met. Could someone please help me change it so that I only receive one notification per candle.

Thanks in advance

You are looking at a signal. You can alert on a change of signal.

I do not understand what you mean. I just need me to alert me once per candle.