Moving averages shwoing the position among themselves (EA/indicator)

 

All,

There are several indicators when moving averages are crossing each other but I need another one. I would like to combine this indicator with other ones. According to the subject I will precise my request. The signal should be displayed in the chart together with a message alert. Here is an example:

UPTREND: EMA5>EMA10>EMA20 (Green arrow in the chart, message alert: UPTREND, Symbol, Timeframe)

DOWNTREND: EMA5<EMA10<EMA20 (Red arrow in the chart, message alert: DOWNTREND, Symbol, Timeframe)

That's all :-)

Sounds easy? Yes but I don't know hot to write such indicator or EA.

Thank you your support.

Sem

 
UncleSem: Sounds easy? Yes but I don't know hot to write such indicator or EA.
  1. Is it easy (or difficult) to …? - General - MQL5 programming forum
  2. You have only four choices: We're not going to code it for you (although it could happen if you are lucky or the problem is interesting.) We are willing to help you when you post your attempt (using SRC) and the nature of your problem.
              No free help
              urgent help.