In MetaTrader 5 we provide the possibility to create
calculation frameworks for a tester to quicker calculate trading
strategies. They are designed for conducting mass optimizing
calculations, when you can start across hundreds of tasks on remote
computers. Besides, several agents can be installed on each computer
(according to the number of cores) to achieve the maximal use of
By default, the number of local agents of each
terminal is equal to the number of logical processor cores, and can
distribute tasks to other remote agents. It is very easy to install
remote agents. All you need is to use MetaTester.exe (a single file,
nothing else is required) and install agents as services according to
the number of cores or one by one. A separate access password is set
for each agent, to ensure that only authorized users connect to it.
This is testing of an Expert Advisor on a local core. Both state and the real CPU load are shown.
Starting testing on a remote agent:
Each MetaTrader 5 Tester Agent opens
one local TCP port and waits for connection from the client terminal
which plays a Manager role (Agent Runner). To open access to the agent
service through a firewall/router, it's necessary to configure the
routing in appropriate way (or simple port-mapping).
For example, the local network has 3 computers with agents on ports
192.168.0.20:2000, 192.168.0.21:2001, 192.168.0.22:2002 and there is a
router with some static IP address ххх.ххх.ххх.ххх.
In this case it's necessary to configure the firewall/router rules in
the following way:
The client terminal can use resources of remote agents of the Strategy Tester using network connections.
The first call of the remote testing Agent (testing is controlled by
the client terminal) looks as follows:
started first, the manager of agents suggests running several agents,
depending on the number of logical CPU cores, specifying the access
password and required ports. The client terminal will connect to these
ports when distributing tasks to remote testing Agents.
soon as the "Install" button is pressed, the agent services will be
installed and the Agent Manager will show them in the list:
Every copy of the remote Agent can be managed from this window.
Can we have a pending task list of optimizations? So we can add optimization tasks to a list and those tasks would be performed one after the other, that way there's no need to stay near the computer and wait till it finishes. Can add many tasks before going to a vacation and have results waiting when coming back... :)
wooo..,it`s look great! hope we can test it soon