Please some help for a simple EMA cross EA.

 

Hi,

My name is Lionel from France. I have just discored this website, and I hope I will find some help to develop this simple EA.

Here are the parameters :

scale M1

Buystop if EMA10 (based on H+L/2)>EMA60(H+L/2)

Sellstop if EMA10 (H+L/2)<EMA 60(H+L/2)

Place a trailing stop loss at - 100 pips

max 2 open positions in the same time

contrary positions can be opened in the same time, the bad one will be closed automatically by the stop loss if correctly adjusted...

You can e-mail me directly on

lionel.houba@wanadoo.fr

Thanks for your help

Lionel

 
0
 

As I don't have any answer, would anybody be kind enough to give me a link on a similar EA I could modify

and if someone can tell me how to add a criteria to open the first position at the begining of the test only after the first cross of the moving averages.

it would be great

Thank you

Lionel

 

additional fuction :

trade only on first tic of new bar after MA cross

 
leyoye1 wrote >>

As I don't have any answer, would anybody be kind enough to give me a link on a similar EA I could modify

and if someone can tell me how to add a criteria to open the first position at the begining of the test only after the first cross of the moving averages.

it would be great

Thank you

Lionel

See 'EXPIRT ADVISER'

 
leyoye1 wrote >>

additional fuction :

trade only on first tic of new bar after MA cross

Use EachTickMode = False in the example in the link

Good Luck

-BB-