Hey guys,
perhaps someone can assist me. I begin my backtests using the following command line and it works just fine:
start /wait /min C:\FXCM\terminal.exe C:\mysetup.ini
So in mysetup.ini there's a lot of things like:
; begin egy tester
TestFromDate=2018.01.11.01
TestToDate=2018.04.08.01
TestReport=myreport_name
additionalinfo=1234
My question is: Will there be any way to acquire additionalinfo (just an example) from my .ini document into my EA so that I can use it? I'd love to utilize some of these. Ini file data in my EA, like this:
if (additionalinfo == 1234) do_something();
or
if (TestReport == myreport move ();
So does anyone know how I can pass data from my own. Ini file into my EA so that I can make use of it? Or can I pass parameters from command line to mql? Would also be an option, if this is possible.
Thank you, your help is much appreciated.