Optimization, write to separate disk

 

Hi, I have this pc with 32gb RAM, during optimization truckloads of data are written to my Windows disk which affects my disk health.

Now, I am aware of the fact that reducing agents will prevent this from happening but then the whole process takes much longer and it already takes ages with all agents active. I have a second (non windows) disk, I want MT5 to write to that particular disk during optimization.

So I have changed the location of my Virtual Memory in "Advanced System Settings" to this second disk , however MT5 still writes everything to my Windows drisk. Is this even possible, or does MT5 always writes to the disk on which it is installed ? (Non techie here, thanks) 

 
Consider using Window's NTFS junction points to redirect MetaTrader's tester folder onto a different disk.
 

no easy, non techie method, sorry. As Fernando said, you can use "windows junction points". These forward mt4/5 to use a different location and disk. It appears to mt4/5 as a folder, when in fact, you are forwarded mt4/5 to use a different location.

Just search google. It is a feature of windows since windows 98SE, and maybe even before that. There is some great webpages with very clear instructions and images to take you step by step.

 

Epic stuff Fernando and Michael, this works for me.

I didn't even realize that all this writing to disk are temp files in de agents subfolders of the Tester folder.

Just for other noobs who want to achieve this as well, all you have to do is the following:

1. Move the "Tester" folder to your second drive (in my case D: , so new location is D:\Tester )

2. Then open a cmd and create a link for the missing folder to the new location on D:( the Tester folder you just moved).

    Put in: mklink /J  c: \users \xxxusername\Appdata\RoamingMetaquotes\Tester d:\Tester and hit enter

3. You now have a link named "Tester" instead of a folder named "Tester" in your Metaquotes folder.

Just did some optimization to test this and Task Manager shows that on my C: nothing is happening and disk "D:" is  absolutely cooking at 100 percent.

Thanks !

 
funske #:

Epic stuff Fernando and Michael, this works for me.

suggestions...

1. do not move the folder, but copy it and rename the original folder with old in the original folder name, that way if the procedure does not work, then, you can reverse the changed folder name and mt4/5 will be as it was before so you can start your terminal without issue.

2. do not use d drive, but change d drive to some other letter. Windows has a long standing issue here that I will not go into here. For example change d drive to E,M,P or anyother letter.

 
Michael Charles Schefe #: 2. do not use d drive, but change d drive to some other letter. Windows has a long standing issue here that I will not go into here. For example change d drive to E,M,P or anyother letter.

Never heard of such an issue and I have never had such a problem, ever—I use junction points all over the place between C and D drives.

EDIT: If you are referring to removable device such as DVD drive, then I always set those at a fixed position further up the list (such as J or K). My hard drives are always sequencial as C, D, E, F, etc.