MetaTrader 5 Strategy Tester: bugs, bugs, suggestions for improvement - page 24

 

Why, if you press the "Start" button while in the "Graph" tab, the tab switches to the "Optimisation" tab, even if a single run is running? - and if optimisation was running, there would be no need to switch to the "Optimisation" tab.

Such "amateurish" tester irritating, the button "Start" for that have put separately, that it could be pressed while in any tab.

Build 2190.

 
Andrey Dik:

Why, if you press the "Start" button while in the "Graph" tab, the tab switches to the "Optimisation" tab, even if a single run is running? - and if optimisation was running then this switch to the "Optimisation" tab would not be necessary.

Indeed, this is the case with a single run.


Since the Start button starts something undefined (single run or optimisation), it is logical to have this behaviour once clicked, so that you can identify what is running.

Switching to Optimise is only when Optimise is running.

 

How do you distribute jobs to agents when optimising in Full Optimisation mode? - Are tasks simply given to those agents that are currently free, regardless of the order of agents, or is there some principle of distribution?

Is such user-organized optimization a working option? We write a counter in Expert Advisor that is searched by the staff optimizer, Expert Advisor reads the file from the agent's folder in the inite and takes parameters for the run from there, the optimization manager of the terminal starts on the chart and distributes parameters to Expert Advisors in the appropriate folders of agents. What are the pitfalls of this kind of user optimisation?

 
Andrey Dik:

Is such user-organized optimization a working option?: we write a counter in the EA which is searched by the standard optimizer, the EA on the agent in the inite reads the file from the agent folder and takes parameters for the run from there, the user optimization manager is launched on the terminal chart and distributes parameters to the appropriate folders of the agents. What are the possible pitfalls of such user optimization?

You can distribute parameters only through Common. Therefore, you will have to create a separate file for each (by number) EA.

 
fxsaber:

The only way to distribute is through Common. Therefore, it will be necessary to create a separate file for each agent (by number).

As far as I know, it is impossible to get a unique agent ID from the EA, which means that it is impossible to bind a file to any agent by name, so that the EA could read parameters from 'its' file... This is not a problem, you can organize symbolic folders for each agent, which are linked to a common folder, in this way you can enter the appropriate folder of any agent, it is even possible torun optimization on machines connected to a local network.

what other problems can there be? - The questions arise because the developers have not yet solved the problem of transferring parameters/data to agents together with the EA.

Оптимизация стратегий - Алгоритмический трейдинг, торговые роботы - Справка по MetaTrader 5
Оптимизация стратегий - Алгоритмический трейдинг, торговые роботы - Справка по MetaTrader 5
  • www.metatrader5.com
Тестер стратегий позволяет тестировать и оптимизировать торговые стратегии (советники) перед началом использования их в реальной торговле. При тестировании советника происходит его однократная прогонка с начальными параметрами на исторических данных. При оптимизации торговая стратегия прогоняется несколько раз с различным набором параметров...
 
Andrey Dik:

as far as I know, you cannot get a unique agent ID from an EA

You can. Pass the Agent name in the first frame. This will give you a complete list of all agents involved.

 
fxsaber:

You can. Pass the Agent name in the first frame. This way you can get the full list of all agents involved.

The full list of agents from the frame can be read externally, by manager, and from the Expert Advisor on the corresponding agent can get the name of the agent on which the Expert Advisor is running, otherwise how will the Expert Advisor know which file to read parameters from?

 
Andrey Dik:

and from the EA on the corresponding agent we can get the name of the agent on which the EA is running

Of course, the EA knows which Agent it is running on.

 
Andrey Dik:

Why, if you press the "Start" button while in the "Graph" tab, the tab switches to the "Optimisation" tab, even if a single run is running? - and if optimisation was running, there would be no need to switch to the "Optimisation" tab.

Such "amateurish" tester irritating, the button "Start" for that have put separately, that it could be pressed while in any tab.

Build 2190.

Switching to the tab of optimisation results is only performed after optimisation. It definitely does not switch after a single run (or give steps for playback)

If you do not want this switch at all, disable it in the test log context menu

 
Slava:

It definitely does not switch after a single run (or give steps to play)

I have it playing when in the Graph or Backtest tabs.

Reason: