Price crosses MA

 

Hi,

I’m beginning as a MT4 programmer and for sure I need some help.

Would someone show me how to write this simple (at least I imagine it’s simple) INDICATOR :

Display an Up arrow (and play an audible alarm) above a formed bar when the close of a this bar crossed an EMA line down-Up,

Display a DOWN arrow (and play an audible alarm) below a formed bar when the close of a this bar crossed an EMA line up-down.

TIA

Best regards

BBF

Reason: