Good MA crossover alert indicator - but it needs some modification...

 

I have an indicator which will alert when two moving averages cross. It plays an alert sound and sends an email.

The indicator works very well, with just one exception; once the alert has been triggered, it keeps repeating the same alert over and over again.

For example, if I use it on a 15 minute chart, when the moving averages cross, it successfully plays the sound and sends me an email. However, it keeps doing this once every 15 minutes, even if the moving averages haven't re-crossed.

This has been driving me crazy as it seems like such a simple thing to do, but I've searched far and wide online and don't seem to be able to find an indicator like this that works properly.

Could someone please help me adjust the indicator, so that once an alert has been triggered, it does not repeat the same alert?

Indicator is attached.

Thanks in advance for any help.

Files:
 

Does anyone can help me how to combine of two indicator into single (MA 5,12 and Parabolic)?

Reason: