MA CROSS Indicator issues

 

Both of these indicators are great but but they signal every time the Fast MA touches the Slow MA.

Can anyone help by editing the code so it only signals/emails when the Fast MA crosses and closes above/below the Slow MA?

The are set up now when the MA's are close you get a signal every 30 seconds or minute.

If not does anyone know of any MA Cross indicators that only signal on the close of a cross that have the email option?

Thanks

Joe

Reason: