Three (3) Moving Average - page 2

 

mlq4 

could you code an ea that uses 3 moving averages.

so for example the 25,50,100

and what we would need them to do is the following 

when the 25 crossed the 50 we enter but only if we have crossed the 100 to get to the 50? it will be shown in picture 1 

however,

if we cross ma100 to then cross the 50 we wouldn't enter the trade? picture 2

just looking for some help and thoughts 

thank you