If you have reached this post it means that you have a powerful VPS and at least somewhat complex set up needs for your metatraders.
In some cases, MetaTraders will not virtualize on an optimal way on a multicore server, generally this happens when MetaTraders need a really high set up, such as a large EA or several charts / symbols.
For these cases we strongly suggest to set up the affinity of cores to allow each MetaTrader to work in a single core and in case there is space left in the cores, it will be used to run Windows’ basic tasks.
Setting this up needs some tweaks but we will get it done together, there is also a video explanation at the bottom of the article.
1 – You will need to log into your VPS, where your MetaTraders need to have been previously installed and download the RunWithAffinity.exe file which you can get here.
2 – Once the file is downloaded in the VPS, double click on it in order to run it.
3 – You will need to search for the MT4’s file location by clicking on the 3 dots in the program search bar. And open the file “terminal.exe”.
4 – Select 1 core to run the VPS at.
5 – Name your shortcut a unique name and click on Create Shortcut.
6 – Do the same for all MTs.
*Please do take note that the best way to do this is to fill in the cores in order. Start by placing 1~4 MetaTraders per core (will depend on the amount of charts and symbols). And then you can start filling in the next core and repeat.
7 – Right click on the shortcuts and press on “cut”.
8 – Paste the shortcuts in your VPS’ Startup Folder.
You can see this video for more details: https://www.youtube.com/watch?v=xK9pJMHa_0U
You’re all set!
In case you need further assistance, please contact our Customer Care department via livechar or at firstname.lastname@example.org