angevoyageur: Iwroteyou, youdo not believe me ? ;-)
I believe it. My message may have come accross wrong. I am pretty exicited to be able to automatically optimize from the command line, so I am looking forward to the next build.
[Common]
Login=9768793
Password=rvuls6tb
ProxyEnable=1
ProxyType=0
ProxyAddress=
ProxyLogin=10
ProxyPassword=10
KeepPrivate=1
NewsEnable=1
CertInstall=1
[Charts]
ProfileLast=Euro
MaxBars=50000
PrintColor=0
SaveDeleted=1
[Experts]
AllowLiveTrading=0
AllowDllImport=0
Enabled=1
Account=0
Profile=0
[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\Examples\Moving Average
Expert=Examples\Moving Average\Moving Average
;--- 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 isset to anthing but 0
Optimization=2
;--- Optimization criterion - Maximum balance drawdown value
OptimizationCriterion=0
;--- Start and end dates of the testing range
FromDate=2013.03.20
ToDate=2013.03.23
;--- 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_installation_folder
Report=opti-eurusd
;--- If the specified report already exists, it will be overwritten
ReplaceReport=1
ExpertParameters=MA_TEST.set
;--- Set automatic terminal shutdown upon completion of testing/optimization
ShutdownTerminal=0
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.
I wrote you, you do not believe me ? ;-)
Optimisation is able to work.
I need to export the best tester results to a *.*set file however my exported file does not include the best results.
Here is my code for this EA:
This is the code for exporting the setting which is included:
And this is my ini:
What am I missing?