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

12
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 
Attachments

Who is online

Users browsing this forum: No registered users and 1 guest