Discussion of article "Guide to Testing and Optimizing of Expert Advisors in MQL5"

 

New article Guide to Testing and Optimizing of Expert Advisors in MQL5 is published:

This article explains the step by step process of identifying and resolving code errors as well as the steps in testing and optimizing of the Expert Advisor input parameters. You will learn how to use Strategy Tester of MetaTrader 5 client terminal to find the best symbol and set of input parameters for your Expert Advisor.

Figure 38. Preliminary optimization result analysis

Author: Samuel

 

It is categorically not recommended to add remote agents in the same directory.

Especially not to confuse people, recommending them to create serious problems for the sake of a 2-second speedup in subsequent auto-updates of the system. We have almost solved the problem of speed difference between single launch and remote agent, it will be available in the next builds.


I recommend removing the block about remote agents from the article completely.
 

This question has been reposted in the main forum (https://www.mql5.com/en/forum/2584).

Thank you for creating this article, but is there a way to access the functionality of metatrader's genetic optimizer without having to manually do the optimization from the backtesting terminal?  

 What I'm looking for is a way to optimize an EA on the fly using mql.  There has been mention of being able to do this with matlab interaction, but I'm not that familiar with matlab and therefore this would be quite difficult.  Any help/recommendations with on the fly optimization would be greatly appreciated.  Thank You.

Optimizing on the fly and backtesting
  • www.mql5.com
Currently I'm developing EAs and backtesting them using MT5 with a metaquotes demo account, but I'm not sure how accurate the backtesting tick data is.
 

Hello!

Could you tell me, during optimisation, red lines appear in the table on the"optimisation results" tab, what do they mean?

 
I would like to know how is the quality of modeling? Is better than the MT4? Downloading historical data, I get to have a 99% modeling in MT4.
And in MT5, how does it work? It is 100% the quality of modeling?
 
An excellent article for novice mql5 programmers. Many thanks Samuel
 
Can you please tell me if there is a similar article on testing and optimising Expert Advisors for MQL 4. I can't find at least reference books of error codes, examples of frequent errors, I have to look for a description of each error through a search in the internet.
 
Excellent article Samuel. It really helped me clarify my doubts about optimising my AE. Thank you for your willingness to help and clarify.
 
fenix74:
Can you please tell me if there is a similar article about testing and optimising Expert Advisors for MQL 4.
Have you looked at the articles ? https://www.mql5.com/en/articles/mt4/strategy_tester
Статьи по MQL4: Тестер
Статьи по MQL4: Тестер
  • www.mql5.com
Статьи по программированию на языке MQL4
 

i still don't understand about "pass"

what does it mean?

does it mean higher value is better?

i can not find any guide about this in manual, at least it's not clear what it really means