EA for closing positions when 2 MA crossover happens

 
I need an EA just for closing positions when two moving averages crossover, and I want to be able to adjust the following specific parameters: MA period - MA type - and the time frame EA applies to.
Help me please, and if you know where I can find such a thing give me the link.
Thanks in advance.