Download MetaTrader 5
To add comments, please log in or register
Having a great idea? Share it on the traders' Forum!
Björn Arnulfson
66
Björn Arnulfson 2012.11.15 11:50 
Hello,

I am developing a program that invents trading algorithms, implements
and tests them. I already found out, that all my ideas could be
realized with JForex. But JForex has the disadvantage that almost no
broker supports it. Therefore, I would like to ask you if the
following is also possible with MQL4:

One process keeps generating new EAs in some directory. Another
process keeps checking the directory. Every time it finds an EA
that has not already been tested, it backtests the EA and writes the
result to some directory.

All instructions concerning backtesting with MQL4 I have seen so far,
speak about using Metatrader *manually*, i.e. by opening the GUI,
entering some values, clicking some buttons, and so on. Can
Metatrader also be used from another program, without the GUI? And, if
so, are there descriptions of how to do this?

Cheers,

Björn

Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2012.11.15 12:38  
bjoern:
Hello,

I am developing a program that invents trading algorithms, implements
and tests them. I already found out, that all my ideas could be
realized with JForex. But JForex has the disadvantage that almost no
broker supports it. Therefore, I would like to ask you if the
following is also possible with MQL4:



You can do it with bat files,  read the MT4 help,  it's all in there . . .
guufii
5
guufii 2014.02.18 09:58  

Hi,

I have the same problem, but have not found anything in the MT4 help except the startup option. Is there a special option I have to set or is there another way to do it? A little example would help... :)



Alain Verleyen
Moderator
28626
Alain Verleyen 2014.02.18 10:18  
guufii:

Hi,

I have the same problem, but have not found anything in the MT4 help except the startup option. Is there a special option I have to set or is there another way to do it? A little example would help... :)



  1. In MT4, press F1 to start the "Client Terminal - User guide".
  2. On the Search tab (not Index), enter "Configuration at startup".
  3. Double-click on the first result
guufii
5
guufii 2014.02.19 06:52  

Hi,

Thank you for your answer. I have already read this section and I could specify a file according to the manual that will launch a backtest and then closes the window again. However, if I start the configuration file I still get a GUI, that I don't need. I would like to do the automated backtest without(!) GUI. I have found no option to start MT4 in silent mode in the "Configuration at startup" section. What is the best way to do it?

Thanks

guufii
5
guufii 2014.02.25 07:45  
Anyone?
Alain Verleyen
Moderator
28626
Alain Verleyen 2014.02.25 08:23  
guufii:
Anyone?

Not possible, you always have a GUI.
/
To add comments, please log in or register