Hey guys,
maybe someone can help me. I start my backtests with the following command line and it works just fine:
start /wait /min C:\FXCM\terminal.exe C:\mysetup.ini
So in "mysetup.ini" there is a bunch of stuff like:
; start strategy tester
TestFromDate=2018.01.11.01
TestToDate=2018.04.08.01
TestReport=myreport_name
additionalinfo=1234
My question is: Is there any way to get "additionalinfo" (just an example) from my .ini file into my EA so I can use it? I would like to use some of the .ini file data in my EA, like that:
if (additionalinfo == 1234) { do_something(); }
or
if (TestReport == "myreport" { go(); }
So does anyone know how I can pass data from my .ini file into my EA so I can use it? Or can I pass parameters from command line to mql? Would also be an option, if that is possible.
Thank you, your help is much appreciated.
maybe someone can help me. I start my backtests with the following command line and it works just fine:
start /wait /min C:\FXCM\terminal.exe C:\mysetup.ini
So in "mysetup.ini" there is a bunch of stuff like:
; start strategy tester
TestFromDate=2018.01.11.01
TestToDate=2018.04.08.01
TestReport=myreport_name
additionalinfo=1234
My question is: Is there any way to get "additionalinfo" (just an example) from my .ini file into my EA so I can use it? I would like to use some of the .ini file data in my EA, like that:
if (additionalinfo == 1234) { do_something(); }
or
if (TestReport == "myreport" { go(); }
So does anyone know how I can pass data from my .ini file into my EA so I can use it? Or can I pass parameters from command line to mql? Would also be an option, if that is possible.
Thank you, your help is much appreciated.