• Get access

How to run terminal and open multi charts with EA settings by command line

To add comments, please log in or register
Hai Huang
206
Hai Huang  

Question:  Run terminal  and open multi charts with EA settings by command line.


I need to deploy the EA on many terminals,   each terminal open several charts with EA and different setting files.   For example,    run EA on  EURUSD, GBPUSD, USDCHF ....   in different charts and with different set files.

This document show the config file to open one EA at startup:

https://www.metatrader5.com/en/terminal/help/start_advanced/start


Do anyone know how to open multi charts with EA at startup command line?



in run.bat

"C:\Program Files (x86)\MetaTrader 4 IC Markets\terminal.exe" C:\Users\xx\Documents\deploy\20200104\xx.ini



in the xx.ini

[Experts]

; experts settings 

ExpertsEnable=true 

ExpertsDllImport=false 

ExpertsExpImport=true 

ExpertsTrades=true


[StartUp]

; open chart and run expert and/or script 

Symbol=EURUSD 

Period=H1 

Expert=xxxEA

ExpertParameters=xxx_EURUSD_1K-l.set 

Platform Start - For Advanced Users - MetaTrader 5 Help
Platform Start - For Advanced Users - MetaTrader 5 Help
  • www.metatrader5.com
After installation, a group of programs of the trading platform is added to the Start menu, and the program shortcut is created on the desktop. Use them to run the platform. Two copies of the platform cannot run from the same directory. If you need to run multiple copies at the same time, install the appropriate number of programs in different...
Hai Huang
206
Hai Huang  
Need this function in both MT4 and MT5
To add comments, please log in or register