Skip to content

vzhomeexperiments/AutoLaunchMT4

Repository files navigation

AutoLaunchMT4

Tools to make sure that MT4 starts after PC reboot (with kind permission from K.Eremenko) Source: https://www.forexboat.com/vpssetup/

Content:

  • AutoLogin Windows
  • AutoLaunchMT4
  • Rebootlog
  • Windows_Autorestart.xml

Setup Environmental Variables

Add these User Environmental Variables:

PATH_T1_T, PATH_T2_I, etc - paths to the Terminals MT4, folder containing file terminal.exe PATH_DSS_Repo - path to the folder where this repository is stored on the local computer

How to establish Autologin

  1. Add your username and password to the file Regsetup.reg.txt
  2. Rename this file to Regsetup.reg
  3. Launch this file
  4. Run CMD and regedit to verify all options were written in the Registry Computer>HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Windows NT>CurrentVersion>Winlogon
  5. Delete password from the file and rename to Regsetup.reg.txt

Note: This procedure is different for Windows 10

How to use AutoLaunchMT4

  1. Place this file into Startup Folder Windows on your PC
  2. Add path of the terminal.exe file of your MT4 platforms on any new line
  3. Close terminals and launch the file to test that all terminals will start

How to add reboog log tool

  1. Place file Rebootlog.cmd to the Startup folder Windows
  2. Test the tool by launching it

How to find the Startup Folder Windows?

Start > All Programs, then right-click on Startup and selecting "Open".

Startup MT4 with settings

Dedicated .ini files could be generated using R package lazytrade Check this function in R: ?lazytrade::write_ini_file

Startup MT4 along with the robot

Ability to launch one or multiple robots at terminal startup

Automatically restart windows

Use task in Windows Task Scheduler * Windows_Autorestart.xml to restart MT4 platforms once per week.

Courious how to apply?

This content is a result of a lot of dedication and time. Please support this project by joining these courses using referral links published here: https://vladdsm.github.io/myblog_attempt/topics/topics-my-promotions.html

About

Script to launch MT4 terminals after restart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published