A Newbie

 

Hi everybody, I’m a really hard newbie in the world of EA’s and program scripts or something like that, but I want to make an EA for a simple strategy to learn. I was reading the web but all is theory, I was downloading other scripts but anyone worked in my metatrader. So my question is: How I began to learn to make an EA?

Thank you

 
JBLeonhart23:

Hi everybody, I’m a really hard newbie in the world of EA’s and program scripts or something like that, but I want to make an EA for a simple strategy to learn. I was reading the web but all is theory, I was downloading other scripts but anyone worked in my metatrader. So my question is: How I began to learn to make an EA?

Thank you

You can read the book "Programming in Algorithmic Language MQL4. Introductory Course" by S. Kovalyov,

An example of the simple expert advisor you can find here.

Also look at Universal Expert Advisor Template

 
1) either read the online documentation or I suggest download the mql4 manual in pdf format http://lmgtfy.com?q=mql4+manual+pdf
2) read https://www.forex-tsd.com/lessons/?pp=20&daysprune=-1 lessons
3) write your own indicator, something non-trivial
4) write your own EA from scratch (MA cross-over for example)
5) read this forum especially for 5 digit brokers, error processing, lot sizeing, etc.
6) Decide on YOUR OWN STRATEGY
7) Encode it.
Once you have code, Ask questions
Reason: