RaptorUK: OK, I have Optimization working . . . make sure you have the optimization parameters that you want to optimize with ticked before you save your set file. If you don't you should see a error message in the journal . . . I did.
great it works now. I'm going to test other EA and parameters combinations and let you know
angevoyageur: Can you post some samples files to help others in the future ? Thanks.
sure:
the following is .ini configuration file I've used
[Common]
Login=200..
Password=ce...
ProxyEnable=0
ProxyType=0
ProxyAddress=0
ProxyLogin=10
ProxyPassword=10
KeepPrivate=1
NewsEnable=1
CertInstall=1
[Charts]
ProfileLast=Euro
MaxBars=500000
PrintColor=0
SaveDeleted=1
[Experts]
AllowLiveTrading=1
AllowDllImport=1
Enabled=1
Account=1
Profile=1
[Objects]
ShowPropertiesOnCreate=0
SelectOneClick=0
MagnetSens=10
;+------------------------------------------------------------------------------
;| Start testing or optimization of the specified Expert Advisor |
;+------------------------------------------------------------------------------
[Tester]
;--- The EA is located in terminal_data_directory\MQL5\Experts\MA_Delta_OHLC
Expert=MA_Delta_OHLC
;--- The EA start parameters are normally located in terminal_data_folder\ in this example I've created an apposite folder
ExpertParameters=sets/MA_Delta_OHLC_H1.set
;--- The symbol for testing/optimization
Symbol=EURUSD
;--- The timeframe for testing/optimization
Period=H1
;--- Initial deposit
Deposit=100000
;--- Leverage for testing
Leverage=1:100
;--- The "1 minute OHLC" mode
Model=1
;--- Execution of trade orders with a random delay
ExecutionMode=0
;--- Genetic optimization This is what triggers the error if it is set to anthing but 0
Optimization=1
;--- Optimization criterion - Maximum balance drawdown value
OptimizationCriterion=0
;--- Start and end dates of the testing range
FromDate=2012.01.01
ToDate=2013.08.20
;--- Custom mode of forward testing
ForwardMode=0
;--- Start date of forward testing
ForwardDate=2011.03.01
;--- A file with a report will be saved in Terminal/F7927...
Report=MA_Delta_OHLC-eurusd-full
;--- If the specified report already exists, it will be overwritten
ReplaceReport=0
;--- Set automatic terminal shutdown upon completion of testing/optimization
ShutdownTerminal=1
a .bat file to run multiple optimization in sequence (remember to set terminal shut down = 1)
below .set file holding input paramters for EA optimization
inputparamter = A || B || C || D || Y/NA=value in normal testing B=start value in optimizaion C=step increment D=end value in optimization Y/N = Y parameter to be optimized N = not optimized
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
OK, I have Optimization working . . . make sure you have the optimization parameters that you want to optimize with ticked before you save your set file. If you don't you should see a error message in the journal . . . I did.
great it works now. I'm going to test other EA and parameters combinations and let you know
thanks
great it works now. I'm going to test other EA and parameters combinations and let you know
thanks
Glad to hear it you are most welcome
it works fine with every EA and parametrs combo. now I can let it work overnight doing multiple tests
thanks a lot
it works fine with every EA and parametrs combo. now I can let it work overnight doing multiple tests
thanks a lot
Can you post some samples files to help others in the future ? Thanks.
sure:
the following is .ini configuration file I've used
a .bat file to run multiple optimization in sequence (remember to set terminal shut down = 1)
below .set file holding input paramters for EA optimization
inputparamter = A || B || C || D || Y/N A=value in normal testing B=start value in optimizaion C=step increment D=end value in optimization Y/N = Y parameter to be optimized N = not optimized
I'll post now kind of config file whenever I'll make it
Many thanks.
I am trying math calculations mode for batch optimisation. Should
be
in the ini file?... When I run the .bat file, mt5 starts then quits.
I am trying math calculations mode for batch optimisation. Should
be
in the ini file?... When I run the .bat file, mt5 starts then quits.
Yes, it should be 3 . . .
Model — mode of tick generation (0 — "Every tick", 1 — "1 minute OHLC", 2 — "Open prices only", 3 — "Math calculations").
. . . does it work with Math Calculations if you try it manually ?
Yes, it should be 3 . . .
Model — mode of tick generation (0 — "Every tick", 1 — "1 minute OHLC", 2 — "Open prices only", 3 — "Math calculations").
. . . does it work with Math Calculations if you try it manually ?