EA for when MA1 cross MA2

Lars widlund  


I have now look at many EA:s for when MA1 cross MA2 but I don´t understand them. How to write an EA for that strategy without anything else then this condition for buy and sell. There are so many things that I don´t need in an EA.

No one has so that it can calculate how many LOT it should trade. It shall only be an simple cod for this condition nothing else. But as I am not a programmer I don´t know how to write the code.  The manual for programing in metatrader don´t show how to write the code. So is there some where to read that show in an understandable way how to write the code? I have search som much but I have not found anything.

Best regard.