Simple Moving Average cut the Daily Pivot - Alert Indicator

 

Hi ,

Is there any Alert (Audible/Msg box) indicator when Simple Moving Average touch/cut the Daily Pivot value? 

idea is when the MA cut the specific value or pivot value, we should be alerted with Audio or Msg box or by Info Bar Font color change.

I have this below indicator modified but having an issue which is not refreshed automatically for every new candle open.

I m not able to add  the loop for refreshing for every new candle open.

If any one can help on this to change the attached code, would be very helpful.

thanks.

Files:
G-Cut.txt  3 kb
Reason: