hey paradox..... somewhere on the forum patrick had posted many basic type expert systems.... lookin at how he coded those can be a big help for us new to meta, or at least was for me.....
in the system tester is a system, 'equis moving average',..... those rules would give you an idea of just what to put in the symbols section, just change out any opt's and rewrite to code to a manner you can easily relate to..... you didn't mention just what your planned exits would be , so this below is about as far as we can go......
you also didn't mention the trends and highlights section of the expert advisor, that code would be slightly different......
it takes some time but you'll eventually develope a coding style your comfortable with......h
buy symbol
//----------------------------
a:=Mov(C,10,E);
aa:=Mov(C,50,E);
Cross(a,aa)
//----------------------------
sell symbol
//--------------------------
a:=Mov(C,10,E);
aa:=Mov(C,50,E);
Cross(aa,a)
//-------------------------
exit long symbol
//-----------------------
you didn't mention long exit rules
//-----------------------
exit short symbol
//-----------------------
you didn't mention short exit rules
//-----------------------