Is there any way to show alerts in alert window just once

 

Hi everybody,

I asked a question about avoiding repetition of similar alerts in alert window and no one replied.

Now, I have another question:

 Is there any way to write the alert part of an indicator so that it shows each alert once and the indicator remembers that it showed that alert before and does not show it again when you launch the MT5 next time.

Thanks