EA in EMA's Separation Based

 

Hello . I wanted to ask the forum if there is an EA that sounds an alarm when it detects that a shorter moving average separates more and more of a longer moving average. For example, suppose a 30-period moving average rises above a moving average of 60 periods, while both moving averages separated by 5 pips and 5 candles after that separation is 7 pips, and another 5 candles later separation is 10 pips. Once this situation is detected, an alarm should sound. Exactly the same should happen if the shorter moving average is below the longer moving average. Both the length of the moving averages as the separations in the three tests must be programmed into the setup menu of EA.

My intention is to use the EA to let me know when these situations occur in order not to remain so long at the screen

This post was written using the Google translator because my English es very poor.


Best regards from Argentina and thanks to who answer me.


Betowm (Alberto)