
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Yes it works. One thing am not sure of though is in the ini file is should it be Model=... or Mode=...
Hi we have automated the optimization process via *.bat File like the example. Since last year we have done more than 70,000 optimizations with no problem at all. But since the last two months some of our Reports.xml are coming out empty only with the headers in the first line.
We have verified the code, the strategy and this error seems to be Random.
Here I send an example of a configuration.ini file.
[Common]
Login=12345679
Password=aaaaaaaaa
[Experts]
AllowDllImport=1
Enabled
[Tester]
Expert=RS-Robots\RS_FrankenBot\MP\Codigo\v0.02\RS_FrankenBot_MP_v0.02.ex5
ExpertParameters=RS-Tester\1003500\D_1003940_1117.set
Symbol=EURUSD
Period=H1
Login=123456
Deposit=100000
Leverage=1:100
Model=2
ExecutionMode=0
Optimization=2
OptimizationCriterion=6
FromDate=2004.01.01
ToDate=2010.12.31
ForwardMode=4
ForwardDate=2010.01.01
Report=RS-SalidaO\XLSX\1010000\O_1010425_105_FWT_1117.xml
ReplaceReport=0
UseLocal=1
UseRemote=1
UseCloud=0
ShutdownTerminal=1
Does any buddy know about this problem.
Kind regards,
Sergio.
Hi we have automated the optimization process via *.bat File like the example. Since last year we have done more than 70,000 optimizations with no problem at all. But since the last two months some of our Reports.xml are coming out empty only with the headers in the first line.
We have verified the code, the strategy and this error seems to be Random.
Here I send an example of a configuration.ini file.
Does any buddy know about this problem.
"RaptorUK:
If you are doing exactly the same as you did before and it is no longer working then this suggests a bug has been introduced in a recent release, you should report this to the Service Desk."
Thank you for the answered. I have found a small advance on the subject; The optimizations are done in "Open Prices Only" because of the great speed and acceptable precision. If I change this to "1 OHLC" the error disappears.
Thank you for the answered. I have found a small advance on the subject; The optimizations are done in "Open Prices Only" because of the great speed and acceptable precision. If I change this to "1 OHLC" the error disappears.
I tried to use the batch mode and its is not working . Have any once used it in recent times or help in finding the error pls.
batch file
"C:\Program Files (x86)\MetaTrader - AxiTrader02\terminal.exe" /config:C:\Users\nitin\Desktop\myconfiguration2.ini
ini file.
[Common]
Login=477349
Password=dddd
[Experts]
AllowDllImport=1
Enabled
[Tester]
Expert=\Moving Average.ex4
ExpertParameters=MovingAverage1.set
Symbol=EURUSD
Period=H1
Login=477349
Deposit=100000
Leverage=1:100
Model=1
ExecutionMode=0
Optimization=0
OptimizationCriterion=0
FromDate=2010.01.01
ToDate=2010.12.31
ForwardMode=0
ForwardDate=2010.01.01
Report=opti-eurjpy.xml
ReplaceReport=1
UseLocal=1
UseRemote=1
UseCloud=0
ShutdownTerminal=1
I tried to use the batch mode and its is not working .
What do you mean by "not working?"
Have any once used it in recent times
FYI
This thread helped me a lot, personally I like to run multiple runs of optimisation and then move onto another pair as I tend to use 5/6 pairs at smaller risk amounts to even out bad weeks etc. As such with a little help from chat GPT I run this bat file to do this without having to run tons of different ini files or long scripts to do this. My particular setup does use /portable mode and also powershell to adjust the line which dictates the pair before starting the test.
This thread helped me a lot, personally I like to run multiple runs of optimisation and then move onto another pair as I tend to use 5/6 pairs at smaller risk amounts to even out bad weeks etc. As such with a little help from chat GPT I run this bat file to do this without having to run tons of different ini files or long scripts to do this. My particular setup does use /portable mode and also powershell to adjust the line which dictates the pair before starting the test.
Improperly formatted code edited by moderator. Please always use the CODE button (Alt-S) when inserting code.
Glad to find this thread, as I'm looking to set up a system that will lend automation to walk-forward testing efforts.
My goal is to set up a framework of rolling optimization periods. For example:
In-sample: 2020-01-01 to 2020-12-31 Out-of-Sample: 2021-01-01 to 2021-03-31
In-sample: 2020-03-01 to 2021-02-28 Out-of-Sample: 2021-03-01 to 2021-06-30
..etc.
What is the best, simplest way to do this? My initial idea was to use separate .ini files for each rolling period.
This will allow me to specify the start and end dates for the IS periods in the FromDate and ToDate fields, and the specify the OOS date using ForwardMode = 4, and ForwardDate set to the beginning of the sample period. Looks I'll need to adjust the IS date range to include the OOS dates and then set ForwardDate accordingly.
What other advise or pointers do you suggest?
Thanks in advance for your input.