Exponential Moving Average cross

 

I'm in need of some help. I'm trying to do something very simple which I'm sure there is something already out there made for this. I want to just have two EMA's running on a chart and enter on a cross then reverse position every time it crosses so it will basically always have a position open just reversing it's current one. Can anyone help?!


THANKS!!

 
Look in the code base, I'm sure something like this is already there. I guess everyone who ever tried MQL4 started with this kind of EA just to test if his program is working. Everyone also learned that it is not a good system and they wouldn't bother to go in there again...