Hello trader, welcome to the Quick Start.
Using Expert Advisor Studio you can create an Expert Adviser by following a few easy steps:
You set a virtual account in EA Studio in the same way you set a demo account at a forex broker. To do it, go to the Settings tab and select your account currency, initial account amount, and the leverage. Make sure these settings correspond to your broker's account in order to get the same results later in MetaTrader.
Two MQL script are provided in the Data Import page. One for MetaTrader 4 and one for MetaTrader 5.
Download the script you need and put it in the Script folder of your MetaTrader Terminal. The easiest way to find it is to use the MetaTrader’s File menu → Open Data Folder command. Then go to MQL4 and Scripts folder. When you put the script there, return to MetaTrader, right click on the Navigator panel and select Refresh. The script will appear in the list. (You have to open the script in the Editor for MetaTrader 5)
You can create a strategy from the ground up choosing the entry triggers manually in Editor or using our advanced backtester algorithm Generator that was built to find strategies using logical blocks to find strategies that make sense.
Let the Generator spin for a moment. When it stop go to Collection, there is where the bests Expert Advisors will be stored. In Collection you can see the equity curve of the top strategies and apply filters to select one that's suits yours needs.
Find the strategy and click upon it to select and open the Editor. As explained before inside editor you can edit the strategy by setting Entry Rules and indicators parameters, at the right pane there is a table that shows the most important statistics and below it there is a equity curve graph.
Use this information to evaluate the strategy and if you are satisfied you can export them as MQL files.
Find the Export button in the toolbar of the Editor tab.
Export the current strategy to a MQL Expert Advisor.
Save the EA inside your Metatrader Folder “MQLx\Experts\”, open it using MetaEditor and compile. Now test the strategy using the MetaTrader Testes with same Symbol / Data Period that was generated by.
Be aware to compare both backtest results for maximum equality.
Generating a trading strategy has never been so simple right?
Join our super-friendly community to find useful information and insights about algorithmic systematic trading.
Others useful links:
Authors: Miroslav Popov, Yavor Kirov and Vinicius Pereira.
Risk Disclosure Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading.
Hypothetical performance results have many inherent limitations, some of which are described here. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.