Here, you’ll be able to create new Expert Advisors, write the code that makes them tick, compile and debug your strategy. Unless you don’t like Disneyland I guess. This is like Disneyland for us EA developers. A new window will open, which should look similar to this: This should open the editor I was talking about earlier on. You can think of this as the control center of your future expert advisors!īut first of all, let’s go back to the toolbar and click the MetaQuotes Language Editor (right circle). This is also where you will be able to backtest your strategies. This is where we are going to run our expert advisors! You’ll be able to configure which currency pair and timeframe you want to test it on and a couple of other settings we’ll get back to later on.
If you don’t see them, have a look at View – Toolbars to enable the right toolbars.Ĭlick on the Strategy Tester button (left circle) and you should see the following at the bottom of the window: These are the default controls that more or less every MetaTrader application should have. The toolbar in this screenshot should be a familiar sight to you.
If you haven’t yet set this up, find yourself a broker (the people at FxPro are solid, but any regulated big-name broker should be fine) and install according to the instructions by your broker.
If not, MetaTrader 4 is the trading software we’re going to use. You should also be somewhat familiar with MetaTrader. We will use demo accounts and testing strategies to make sure everything is well tested, there’s no need for a live account. Your career is the engine of your wealth.”īefore we begin, please make sure that from now on, everything you run is on a demo account! I wouldn’t want to see you wipe out your account because you made a coding error. These are your first steps into a new world – with a huge potential pay-off. That’s almost halfway to raking in those pips with our automated strategy!
Ah, moooving on!Īfter this article, you will feel comfortable with the MetaEditor and know how to create a new expert advisor. In this part, we’re going to learn how to use the MetaEditor – the Integrated Development Environment or IDE for MetaTrader4 – to develop those exceptional expert advisors! I’ll show you around the editor and we’re even going to create our first expert advisor.
Welcome to the second part of our MetaTrader4 Expert Advisor course! Missed the first part? Go read the MT4 EA course Intro now, I’ll wait! Part 5: MT4 EA Forex Course: ATR stops and position sizing.Part 4: MT4 EA Forex Course: buy and sell.Part 3: MT4 EA Forex Course: Trailing Stops.Part 2: MT4 EA Forex Course: our first forex expert advisor (current page).