Running MT5 in the background (stealth mode)

 

Hi,

I want to run MT5 from the command line in the background (i.e. MT5 window is minimized or hidden), and save the data calculated by a custom indicator/expert into a file. Is that possible? For example, suppose that we have an expert that saves the number of bars of a specific symbol. I want to run MT5 in the background to get the data from this expert without showing the MT5 window even in the taskbar.

Thanks for your help!

 
Windows 10: Win-Tab, create a new desktop, switch to it and start the terminal or drag the terminal to it.
 
William Roeder:
Windows 10: Win-Tab, create a new desktop, switch to it and start the terminal or drag the terminal to it.

Thanks but I mean how I can do this by simply executing a command like this:

c:\terminal64.exe /config:test.ini

Using this approach, "test.ini" must include instructions to run an expert while minimizing or hiding the terminal window so that the user cannot see the terminal window.

 
Hadi Hadizadeh:

Thanks but I mean how I can do this by simply executing a command like this:

c:\terminal64.exe /config:test.ini

Using this approach, "test.ini" must include instructions to run an expert while minimizing or hiding the terminal window so that the user cannot see the terminal window.

Were you able to do this?

Reason: