Hello All,
Has anyone had success opening terminal.exe from the commandline using switches to open a chart window and also specify an Expert Advisor to run in the chart window on opening?
Could you potentially point me to other posts/how to's pls..
Thanks,
Ian
https://www.mql5.com/en/forum/245432#comment_7486345
https://www.mql5.com/en/forum/240544#comment_7231719
https://www.mql5.com/en/forum/224813#comment_6345558
I've tried creating a simple ini file with nothing other than
; open chart and run expert and/or script
Symbol=EURUSD
Period=H4
then from commandline >terminal testfile.ini
and also >terminal /config:testfile.ini
it just opens the terminal but does not open a chart with EURUSD t/f H4
what am i doing wrong?
MT4 Command line .ini
https://www.mql5.com/en/forum/245432#comment_7486345
https://www.mql5.com/en/forum/240544#comment_7231719
https://www.mql5.com/en/forum/224813#comment_6345558
managed to get a chart window to open but the window stay blank with the message waiting for update.
when right clicking on the window aqnd going into properties the settings are blank.
Creating a new chart is fine ???
and also >terminal /config:testfile.ini
Make sure you specify full paths on the command line.
See this example (which is obviously for MT5, so translate accordingly):
Figured it out - it was the Symbol was missing a dot
was
Symbol=EURUSD
when it should have been
Symbol=EURUSD.
Its a broker thing..
DOH!!
Figured it out - it was the Symbol was missing a dot
Glad you found it because I would have never seen that.
:-D

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello All,
Has anyone had success opening terminal.exe from the commandline using switches to open a chart window and also specify an Expert Advisor to run in the chart window on opening?
Could you potentially point me to other posts/how to's pls..
Thanks,
Ian