Page 2 of 2

Re: How to Run Multiple Instances of MetaTrader on the Same Computer

Posted: Sat Jul 01, 2023 1:55 pm
by ikitoplus
mladen wrote: Tue Apr 25, 2017 5:39 pm Metatrader does not need to be installed at all
All that is needed to do is to copy the folder to some other place and run it from there. Combined with the "/portable" switch it can be easily controlled that way
thanks for that tip :)

Re: How to Run Multiple Instances of MetaTrader on the Same Computer

Posted: Sat Jul 01, 2023 5:15 pm
by andrei-1
Windows 10(64). 30-33 terminals, Depends on the number of indicators used, and their complexity. If the running terminals weigh more than 200MB each, problems are possible.

BAT files are used for management.
1. Quick launch (pause 6 seconds).
2. Launch to update (pause 60 seconds).
3,4,5,6,7... Change indicators, templates, Expert Advisors, scripts, profiles...

For security reasons, I don't want to upload bat files. These are the two main ones to enable and change.

Code: Select all

echo off
cls
echo start /min tm

start /min E:\tmdi\tm1\terminal.exe /portable

echo wscript.Sleep 4000>"%temp%\sleep30.vbs" 
cscript //nologo "%temp%\sleep30.vbs" 
del "%temp%\sleep30.vbs"
start /min E:\tmdi\tm2\terminal.exe /portable

echo wscript.Sleep 4000>"%temp%\sleep30.vbs" 
cscript //nologo "%temp%\sleep30.vbs" 
del "%temp%\sleep30.vbs"
start /min E:\tmdi\tm3\terminal.exe /portable

echo start /min ok tm

echo wscript.Sleep 16000>"%temp%\sleep30.vbs" 
cscript //nologo "%temp%\sleep30.vbs" 
del "%temp%\sleep30.vbs"

Code: Select all

erase/Q E:\tmdi\tm2\MQL4\Indicators
xcopy E:\tmdi\tm1\MQL4\Indicators E:\tmdi\tm2\MQL4\Indicators 

erase/Q E:\tmdi\tm3\MQL4\Indicators
xcopy E:\tmdi\tm1\MQL4\Indicators E:\tmdi\tm3\MQL4\Indicators 

erase/Q E:\tmdi\tm4\MQL4\Indicators
xcopy E:\tmdi\tm1\MQL4\Indicators E:\tmdi\tm4\MQL4\Indicators 

Re: How to Run Multiple Instances of MetaTrader on the Same Computer

Posted: Tue Sep 30, 2025 11:08 pm
by andrei-1
I once spent a lot of time creating these icons. I think it will be useful to someone.

I would like to correct bilbao. If you fully configure the first copy (1),
you do not need to enter your username and password in the remaining copies.