Hello everyone, this is going to be a long but easy to follow guide on how to build your first simple Expert Advisor using MetaQuote language in MT4.
[B]Some background:[/B] I started making my own robots in 2014, very simple ones, which traded MA crossovers on EURUSD.
I backtested it, I optimized it, I found out that in only 2 months I could make 2000€ of profit from my 2000€ deposit! Woooow I thought.
I was at work that day but my focus was absolutely elsewhere. Think about it, you have a robot that trades for you 24/5 and can make 100% return over 2 months how wonderful it is! Unfortunately that wasn’t the case. At all.
I deposited my first 200€, traded only 0.01 lots and used my optimized parameters. In 3 weeks I lost almost everything.
I looked at the code, I backtested again my EA (at the time I didn’t know how about curve fitting issues or walking forward optimization!), I tried to optimize my EA again.
Then I changed strategy because I thought that the problem was the strategy I used.
Backtest OK.
Optimization OK.
Live deposit 100€, lost everything in 5 weeks.
One year later, after I studied some programming, some algorithmic trading books on optimizing and testing I tried with my first EA.
This time I used a new approach, the one that we are going to explore in this thread.
I earned the 40% in 2 months which is not bad at all!
I’m at the airport now, leaving for London.
Tomorrow I’ll post the first part of the guide. If you want to learn subscribe to this thread!
Enjoy the ride!
[B]I am going to use MQL4, not MQL5 because of my preferencies.[/B]
Warning!
[B]This isn’t a method to become rich quick and effortless. [/B]
You will have to practice a lot, you are going to program your simple EA, you’re going to learn how to spot market imbalances and how to trade them automatically.
I won’t recommend any software, any robot-that-makes-you-money, anything!
Are you ready to sweat a lot? To put in the required effort?
Welcome aboard my friend.