Indicator with alarm when price crosses MA

 

Hi,

I need an indicator that audibly alarms me when price crosses a MA, either up or down. Best would be if it could be set to only sound the alarm when the candle is closed after price has been pierced the MA in the direction of the cross.

I have been searching for something like thism but not been able to find it.

TIA for help and/or pointers.

 
cdysthe:
Hi,

I need an indicator that audibly alarms me when price crosses a MA, either up or down. Best would be if it could be set to only sound the alarm when the candle is closed after price has been pierced the MA in the direction of the cross.

I have been searching for something like thism but not been able to find it.

TIA for help and/or pointers.

you could use the xpMA for this:

Files:
xpma.ex4  11 kb
 
adrazz:
you could use the xpMA for this:

Thanks, I looked at XPma, but I am not able to figure out how to do it yet.

 
cdysthe:
Thanks, I looked at XPma, but I am not able to figure out how to do it yet.

Read this thread, it will teach you how to use it:

https://www.mql5.com/en/forum/175446

Reason: