Errors, bugs, questions - page 2672
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
There is only the data in the opt file. The format is available.
I do not want to read from file, I have already done what I wanted - unique file name - MD5 of input parameters, like this:
files are written and in a single pass I see the file name : fname = 04a19580d36f0a749143211b57efbebc
is it possible to get the pass number from the tester agent?
HH: or need a unique identifier from each pass during testing for the file name - I want to save the settings of interest EA during testing in the file, but need something unique to form a file name with the settings
The pass number can be 1024-bit.
Why do you need a pass number when you already have a set of parameters on that line?
I do not want to read from the tester from the file, I think I already did what I wanted - unique file name - MD5 of the input parameters, about this:
files are written and in a single pass I see the file name : fname = 04a19580d36f0a749143211b57efbebc
The MD5 of the input parameters has already been calculated and is in the pass record in the opt file
Why do you need a pass number if you already have a set of parameters in this line?
I want to reset successful optimizer passes immediately to EA settings file and automatically load a .bin file instead of .set when starting EA - it is necessary for simultaneous operation of several TCs
The MD5 of input parameters has already been calculated and is in the pass record in the opt-file
I struggled for almost 3 months for the speed of optimisation, I think I have achieved it, so a counter question:
which is faster:
1. from optimizer to read opt-file with MD5 ?
2. or calculate with my MD5 code
I suspect that it's faster to calculate, especially since all input parameters are used inside the code as an array of structures (I optimize about 40 parameters)
I want to reset successful optimizer passes immediately to EA settings file and automatically load a .bin file instead of .set when starting EA - it is necessary for simultaneous operation of several TCs
I struggled for almost 3 months for the speed of optimisation, I think I have achieved it, so a counter question:
which is faster:
1. from optimizer to read opt-file with MD5 ?
2. or calculate with my MD5 code
I suspect that it's faster to calculate, especially since all input parameters are used inside the code as an array of structures (I optimize about 40 parameters).
MD5 is faster to calculate.
If you are not going to use the opt-file in future, calculate MD5
If you are going to use it, it is better to use an already calculated MD5, as your calculation may not (and probably will not) match ours
MD5 is quicker to read.
If you don't intend to use the opt-file in the future, read MD5
If you're going to use, it's better to use already calculated MD5 as your calculation may not (and most likely will not) match ours
Thank you!
not going to use an opt-file
SZS: a couple of weeks ago I was looking to initialize MathSrand() from a testerhttps://www.mql5.com/ru/forum/1111/page2657#comment_15165819
it would not be bad to get uchar[] with MD5 (well or string) in tester agent - it's unique value, you can initialize MathSrand() and here i want unique file name, give your MD5 in TesterStatistics()
Bug MT5(build 2323), the same template object B<int> can be created after object of class B<void*>, but if done before, a compilation error occurs.
Probably the cause is in the template class generator cache.
Thanks for the post, fixed
How do you use macros?
Horror. A compile-time error.
Small script:
Build 2361, the latest at the moment.How do you use macros?
this is how we use
The difference there is the presence of brackets.