Friday, May 8, 2015

Instructions. How to get started with the tester in MT4?


Hello, dear readers! Today, Saturday, evening training session was held, trading closed, decided to spend his spare time to write instructions for testing strategies in MT4 terminal. This topic I learned good practice, why it happened, said in a previous article: "What happened to my trading systems? Or where I been? ". Instruction will consist of 2 parts. This part for beginners will tell you how to start checking strategies tester mt4, as always in detail and with pictures! The next part will learn practical experience for more efficient testing, pitfalls and problems that I have met, and how to solve them! Do not miss out, read the blog! And now instructions directly to the beginning of the test.

тестер в mt4


As first check Advisor in the strategy tester MT4?
Step 1: I must say that it is very simple. To get started, you need to make sure that your advisor is compiled. If you had just written, or copy files from the Internet, you definitely need to go to the Meta Editor and editor implement his plan. Otherwise, your advisor will not be displayed in the terminal, and test it will not work. Open a terminal and click on the Meta Editor icon on the toolbar, in the figure below in red:



тестер в mt4

Will load the editor in which you need to open your adviser and press F5. Either click «File», in the drop-down menu, select the «Compile». In any case, EA will be compiled and will be available in the terminal (if it still is not there). See the picture below. If you want more, then I have an article in which everything is considered in detail: "How to install Advisor in MT4? 6 easy steps on a real example! "

тестер в mt4

Step 2. Next, open the tester strategies mt4 terminal. You press the button on the tool bar, see figure:

тестер в mt4

Step 3. Then select the tester adviser testing period (timeframe) for the test tool. Pictures will not do, everything is intuitive, this question should not be.
Step 4. Now we will focus more on testing methods. A total of three. "Open prices" - the most crude method, the name speaks for itself, does not make sense for most systems.
"Checkpoints" - just a very crude method. It turns out a large slippage distorts the test results, a closer look at in the next section.
"Every tick" - the most accurate method available, but it takes a long time (the quality demands of the victims).
After selecting the test method proceed to the next step.
Step 5. Press the button "Expert properties", see figure below, highlighted in red:

тестер в mt4

Advisor settings window opens (for example, chose Moving Average)

тестер в mt4

You can change the size of the initial deposit, the type of open positions (often only used to purchase shares, a very useful feature).
Under the tab "Input parameters" you can change the settings advisor. See figure:

тестер в mt4

The next tab will need to optimize advisor, you can select different settings, look it up yourself.
Step 6. Press the button "Symbol Properties" to see the important test conditions, pay attention to them, and swap spreads have a very large impact on the results (will try to write on this subject a separate post, be surprised!). For example, when testing advisor Kaliningrad I specifically their inflated to have a margin of safety.

тестер в mt4

Step 7: Choose the test period. To correctly use the tester in MT4 on large intervals of time necessary to download quotes, otherwise the test is invalid (article to help: "How to download an archive of quotations for mt4 Step by Step?.").
Step 8. We are almost there! It remains to choose: to use visualization or not. What it is? When testing tool will open the schedule, it will be scrolled, and you can watch how the transaction in the system. Schedule: open in a new window. If you want - put the appropriate check not - then do not bet. By the way, during the test speed can be adjusted, or press Pause.

тестер в mt4

Step 9. The most important! Preparation is completed, click "Start" and wait for the results!
Once the test is complete, you will hear a beep funny, I do not know why the terminal developers have chosen it, but with a sense of humor at all of them in order!
Briefly tell about the results, which provides a tester.
After testing appear tab marked below:

тестер в mt4

The "results" reflect all transactions for the selected period.
"Graph" - here everything is clear, the change in the balance sheet and equity at the time of testing.
"Report" - test statistics, a useful thing!
"Magazine" - reflects advisor actions during the test, it is possible to find errors and other useful information.
More details on the audit strategy in the tester MT4, learn about the practical application in the next section, will publish in the near future, wait! It will be very interesting!