![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
The MT5 Help that comes as part of MT5 tells you all you need to know, have you looked at it ? have you pressed F1 while in MT5 ?
Input parameters from a file specified in ExpertParameters are used for testing/optimization of an Expert Advisor.
·If that setting is absent, parameters from an EA_name.set file located in the terminal_folder/tester/ directory are used for testing/optimization of an Expert Advisor. In such a file the last specified set of input parameters of an Expert Advisor is stored.
·If there is no such file, then the default parameters specified in the code of the Expert Advisor will be used for testing. Optimization will be impossible.
·In order to create or change a set of parameters, you should select an Expert Advisor at the "Settings" tab of the strategy tester and specify necessary input parameters and ranges of their variation at the corresponding tab.
found finally
.set files are not in programfiles/metatrader5/terminal/tester...
but in appData/roaming/metaquotes/terminal/F792711EEED0C4A88615E52DD459D4CC/tester
don't know why but at least now I know
thanks a lot
found finally.
.set files are not in programfiles/metatrader5/terminal/tester...
but in appData/roaming/metaquotes/terminal/F792711EEED0C4A88615E52DD459D4CC/tester
don't know why but at least now I know
thanks a lot
it doesn't work and gives no errors:
the terminal starts, logs in, but no optimization begins
here the .bat file
and this is one of the two .ini (the difference is only the symbol)
do you have any clue?
it doesn't work and gives no errors:
the terminal starts, logs in, but no optimization begins
here the .bat file
and this is one of the two .ini (the difference is only the symbol)
do you have any clue?
See if anything in this thread helps: https://www.mql5.com/en/forum/11351
unfortunately it doesn't help. the guy had an error when launching from terminal while I'm not getting any errors so I don't know what could be wrong. mt5 starts but no optimization starts, so it could be because it doesn't find the EA or the .set file, I've tried to cope these files in many places.
documentation says that .set file have to be in tester/Presets
I created /Presets in both the following paths:
programfiles/metatrader5/terminal/tester...
appData/roaming/metaquotes/terminal/F792711EEED0C4A88615E52DD459D4CC/tester
and copied .set files then I copied it in /termina and /MQL5
but the effect is the same no errors no other messages it simply doesn't starts
how can I debug it? is there any way to get the status of the terminal while interpreting the .ini file?
unfortunately it doesn't help. the guy had an error when launching from terminal while I'm not getting any errors so I don't know what could be wrong. mt5 starts but no optimization starts, so it could be because it doesn't find the EA or the .set file, I've tried to cope these files in many places.
documentation says that .set file have to be in tester/Presets
I created /Presets in both the following paths:
programfiles/metatrader5/terminal/tester...
appData/roaming/metaquotes/terminal/F792711EEED0C4A88615E52DD459D4CC/tester
and copied .set files then I copied it in /termina and /MQL5
but the effect is the same no errors no other messages it simply doesn't starts
how can I debug it? is there any way to get the status of the terminal while interpreting the .ini file?
I'll find time to have a look a little later, I had this working before with little trouble, are you trying first with a sample MQ supplied EA ?
I'm going to do it now and let you know.
thanks
I'm going to do it now and let you know.
thanks
Try to get it working without optimization first . . . in the ini file set . . .
Optimization = 0
Try to get it working without optimization first . . . in the ini file set . . .
Optimization = 0
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