One of the big improvements of the new Metatrader 5 strategy tester is the possibility to use individual calculation frameworks ( agents ) to distribute the load within the multiple (remote) cores and as result, to greatly increase the speed of trading strategies optimization / calculation. The agents can be installed on remote computers in your local home/work network or on other internet-connected pc's around the world.

Thus, the time for optimization using multiple cpu core's is greatly reduced. The Metatrader 5 strategy tester automatically assigns each agent the testing parameters and the interval to for the next passage. As said above, you can use any available pc, both on a local network and via the Internet. To do this you need to install on the remote computers that you want to use the MetaTester.exe utility. This utility is part of the Metatrader 5 installation package, so there's no need for a separate download. Simply install the Metatrader 5 terminal.

The remote agent receives the required testing history from the tester, so there's no need for multiple requests to the broker servers. Access to remote agents is securely protected by a password. Within the agents the following security mechanisms are implemented:

- Fully encrypted network protocol between the client terminal and the remote agent with a compression of traffic;
- Password protection;
- Ability to specify a list of IP addresses from which connection to the client terminal is allowed;
- Only local agents can use the DLL with the appropriate terminal resolution. DLL call is prohibited on remote agents;
- The transmitted EA's code is never stored on the agent's HDD, but is instead transferred in a transformed state, which is inaccessible by the dump. On remote agents, messages of Expert Advisors (Print() function), as well time of trade operation execution, are not recorded to the journal;
- The agent does not know the name of the EA and doesn't store the miscalculation results on the HDD;
- The agent is protected by a security shield from dissemble and modification.

Here is a detailed guide how to use the remote agents. I'm going to use the dual-core cpu on my laptop as a remote agent on my desktop pc.

1. Open the MetaTester.exe utility on the computer that you want to use for the remote-agent service. The Metatester agents manager program MetaTester.exe is located in the Metatrader 5 installation folder ( default: C:\Program Files\MetaTrader 5\metatester.exe

metatrader 5 agents
2. Specify a password and a port range for the remote agent connection. The best option is to choose port numbers that are not used by other programs. You can find a list of standard and unassigned ports here: port numbers

metatrader 5 agents
In my example i'm using the 4435-4436 port range. Press the "Add" button. The number of available local agents must be equal to the number of logical cores of the processor. In my case, i have a dual core Intel cpu, so i installed 2 remote-agent services. Also, write down your ip address stated above ( in my case, )

3. Now go to the computer where you will be using the Metatrader 5 strategy tester and the remote agents. Open Metatester 5 and go to the "agents" tab. You will see the "local" and "remote" tabs. The local cpu is listed on the "local" tab. Via the context menu on the "remote" tab you can add the remote agents:

metatrader 5 agents
A pop-up window will appear. You must input the password, ip address and port number that you specified earlier. In my case, i use the ip address:port number for the remote agent 1 and for the remote second agent.

4. In case you have a firewall installed on the computer with the remote-agents service running, allow the connection. You may also open the ports on your router if they are closed. I'm using the Comodo Firewall program, so i had to allow the outgoing connection:

metatrader 5 agents
5. After you have added all remote agents you can test them by running a EA optimization. In my case the remote agents were successfully activated

As said above, all agents are shown in a table divided into two parts - local and remote agents. The "Hardware" column contains information about the type of the processor, CPU clock, RAM size and internal performance rate (the higher the rate is, the the more powerful the hardware is); CPU Usage — indicator of the core usage level; Status — the status of the agent: busy, ready, unavailable.

metatrader 5 agents
You can add as many remote agents as you want, so you can build your own supercomputer. The Metatrader 5 strategy tester provides a solutions with the remote agents feature for complex Expert Advisor optimization, which traders would not dream of being able to solve without access to supercomputers.

Read more about Metatrader 5 Strategy Tester

Many people asked MetaQuotes to develop a mobile version of Metatrader 4 for Iphone. Unfortunately, the mobile version of MT4 is only available for the Windows Mobile platform ( Smartphones and Pocket PC's, look for the download links in "MT downloads" sidebar ). However the good news is that Metatrader 5 will be available for Iphone and Google Android platforms! It was recently confirmed by MetaQuotes staff in this thread. The development of the Iphone app is progressing, and it will be probably released first. Bad news is that there wont be a version anymore for the Windows Mobile platfrom, Windows Phone 7 will be also avoided. I think this is because of the bad reputation Microsoft got with the countless bugs of Windows Mobile 6 and the drastic changes in code in the 7th version.

Metatrader 5 for Iphone The Metatrader 5 Iphone app will feature a uniform design that will seamlessly fit in the Iphone interface. The app is developed from scratch and will be 100% native to the Iphone OS. Also, it will be different from the interface in Metatrader 4 Windows Mobile. The release date is not known yet. If the mobile version of Metatrader 5 is one of the reasons you will buy a smartphone, this information will help you to decide what platform to buy. I personally like the Android OS.

If you want to use Metatrader 4 on your Iphone, you can use tools that create a remote connection to your desktop, where Metatrader 4 is running. For example, you can use the TeamViewer app for Iphone, it connects to any PC around the world and you can remotely control the PC as if you were sitting right in front of it. You can also seamlessly use iPhone to login directly to your PC running MT4 using the PC2ME app. With PC2Me you can remote control of your Windows PC, using your iPhone via the Safari browser. There is also a Iphone app that allows you to monitor your Metatrader 4 accounts using's backend:

Metatrader 5 for IphoneActually, the remote connection to the desktop version of the Metatrader terminal is in some cases better than a mobile version of MT for the smartphone. On the smartphone you have always limited computing resources and not all features of the full version of Metatrader. For example, if you are using a expert advisor on your desktop, you can only control it via a remote connection. But if you want to quickly check the market quotes, the mobile version is better.

In Metatrader 5 Strategy Tester you can test an Expert Advisor using different currencies, but you can also automatically test a multi-currency EA without the need of switching the currencies as in MT4.

To test a single currency EA using different currencies you must select the option "All Symbols Selected in Market Watch" in the optimization types selection. You can also select the currencies you want to test in the Market Watch window. In my case, i have selected the Heiken Ashi Expert from the example EA's folder using 5 different symbols. The input parameters were standard:

Multi-Currency Strategy Testing with MetaTrader 5

Note that for each tested symbol, around 10-15MB of history will be downloaded, so if you have selected a lot of symbols it may take a while.

In the optimization results you can see which currencies have performed the best. So using the "All Symbols Selected in Market Watch" option you can automatically test an EA on many symbols, without the need to do it manually.

Multi-Currency Strategy Testing with MetaTrader 5

One of the big advantages of the new Metatrader 5 strategy tester is the option to backtest multi-currency EA's. This was not possible in MT4. The testing and optimization process of an multi-currency expert advisor is the same as with other EA's. Metatester 5 will automatically read the code for multiple-symbol testing. The optimization results ad the equity curve will combine all symbols in one result.

To demonstrate the multi-currency EA testing i have modified the GuruEX03 EA so that it will have 3 currencies. But you can always add more symbols if you want, it's very simple, just copy the code for symbol 4 from previous symbols at the comment "// add more symbols". The EA is a simple moving average crossover trading system. It will enter the market when the slow MA and fast MA are crossed. In the input parameters you can specify all the EA variables. The symbols used in this EA are EURUSD, GBPUSD and USDJPY. You can change them in the line 25-27 of the EA's source code. Download the multi-currency MA crossover EA (.mq5)

Multi-Currency Strategy Testing with MetaTrader 5
I have done a simple 96 step fast optimization and here are the results:

Multi-Currency Strategy Testing with MetaTrader 5
In the log file you can see that the testing process has used all 3 symbols:

Multi-Currency Strategy Testing with MetaTrader 5