Topic: Moving Average Crossover on EA Studio

Hi Popov, is it possible to create a simple moving average crossover strategy using EA Studio?

Regards.

Re: Moving Average Crossover on EA Studio

Yes, we can do it with using the MACD indicator.

MACD line is a difference between a Slow MA and Fast MA. We have a MA Crossover signal when MACD Line crosses the zero line.

For example, if we want long signal when the Fast MA crosses the Slow MA upwards (a begging of a bull trend), we can use MACD with a logic rule "MACD line crosses the Zero line upward". I'll illustrate this with the following reversal strategy:

http://forexsb.com/expert-advisor-studi … M5ynQAOzSM (Go to the Editor)

I use Moving Averages only to show that the MACD Line (MetaTrader plots it as a histogram smile ) crosses the zero line at the points where Fast MA crosses the Slow MA. You can remove the MA indicators because they are only for demonstration.


http://s12.postimg.org/p9sesvmot/screenshot_6.png 


We can use only Exponential moving average because MetaTrader doesn't provide options for setting the MA calculation method.

Re: Moving Average Crossover on EA Studio

Ah,my bad, never thought that it'd be so simple.

Thank you smile