Executing an Expert-Advisor via "cmd" command line... what am I doing wrong?

 

Dear MQL5 Board,

Im trying to execute An Expert via CommandLine and already read through the large part of questions about this topic but i couldnt find a working answer:


I already tried all the commands from "https://www.metatrader5.com/en/terminal/help/start_advanced/start#command_line" but they dont seem to work

cmd /c "C:\Program Files\ICMarkets - MetaTrader 5\terminal64.exe /config: C:\Users\{username}\AppData\Roaming\MetaQuotes\Terminal\{MetaTrader_ID}\MQL5\Profiles\Tester\{my_expert_config}.ini"

"my_expert_config" is a config i edited for executing an expert, but it also contains a "common" section with all the information needed (login & password)

I probably something is wrong with my commandline, but what could i do ?

Im very glad for every Idea that could help :)

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...
 
Bayne: I already tried all the commands from "https://www.metatrader5.com/en/terminal/help/start_advanced/start#command_line" but they dont seem to work
  1. Please use the link button (Control+K) See the difference? https://www.metatrader5.com/en/terminal/help/start_advanced/start#command_line
              Messages Editor

  2. Look at the doc's again. There is no space after the "config:"
 
William Roeder:
  1. Please use the link button (Control+K) See the difference? https://www.metatrader5.com/en/terminal/help/start_advanced/start#command_line
              Messages Editor

  2. Look at the doc's again. There is no space after the "config:"

Hey,

Thank you for the tip :)

I tried without the space, but it still wont execute an expert...

Yes it opens MetaTrader Successfully, but after that... nothing happens, even though im already logged in, any ideas what i could try next?

 
Bayne #:

Hey,

Thank you for the tip :)

I tried without the space, but it still wont execute an expert...

Yes it opens MetaTrader Successfully, but after that... nothing happens, even though im already logged in, any ideas what i could try next?

could you find a solution? I am facing same problem!