Newbie Moving Average Trading Program

 

I am completely new to automated trading, and am trying to learn the language. I want to write a program that enters a buy order when the price rises above a maving average, and then goes short when the price moves below the moving average. Does anyone know of any currently written programs, or how I could write a program like this.

Thanks in advanced

 
Sammy91:

I am completely new to automated trading, and am trying to learn the language. I want to write a program that enters a buy order when the price rises above a maving average, and then goes short when the price moves below the moving average. Does anyone know of any currently written programs, or how I could write a program like this.

Thanks in advanced

Moving Average expert is already in your metatrader, look at it,

 

Here the moving average strategy explained

http://www.molanis.com/support/online-tutorials/forex-moving-average-strategy

Here the strategy diagram

http://www.molanis.com/forum/viewtopic.php?f=3&t=8

Mind you you need to download molanis strategy builder to use it. Just open your strategy and generate the EA.

Reason: