Yes exactly, in order to reduce the number of combinations and optimisation time
When initialising, exclude ranges from optimisation explicitly or via a formula, then the pass will be terminated at initialisation, which will reduce the optimisation time.
When initialising, exclude ranges from optimisation explicitly or via formula, then the pass will terminate at initialisation, reducing the time to optimise.
Not recommended for genetics.
Is initialisation called for each pass? Not clear how to get all variable values and the number of passes is not a constant, oversorting, etc. From xml csv file, but how in the optimisation process is not clear.
Not clear how to get all variable values and the number of passes is not a constant, re-sorting, etc. From xml csv file, but how in the optimisation process is not clear.
And during optimisation you can use the file - I don't understand the thought process.
And when optimising you can use the file - I didn't understand the train of thought.
Just when optimising on all cores, you need your own file in a separate folder on the disc, 16 cores 16 files? It is at a single run it is clear where the file is located and read.
Just when optimising on all cores, the file needs its own file in a separate folder on the disc, 16 cores 16 files? It is at a single run it is clear where the file is located and read.
It is not clear how to compare combinations from OnStart with combinations from OnInit. Or is there some way to get them directly from the optimisation process?
It is not clear how to compare combinations from OnStart with combinations from OnInit. Is there any way to get them directly from the optimisation process?
All comparisons in OnInit should be made. Directly - only after optimisation by saving to a file... Or you can calculate the number of combinations yourself and not use them.
All comparisons should be made in OnInit. Directly - only after optimisation by saving to a file.... Or calculate the number of combinations yourself and do not use them.
Alexey, is it okay that OnInit() doesn't exist in scripts?
It is not clear how to compare combinations from OnStart with combinations from OnInit. Is there any way to get them directly from the optimisation process?
And judging by the question, the conversation is about a script... Or are you discussing with a person who does not even understand the difference between Expert Advisors and scripts?
Alexey, is it okay that OnInit() doesn't exist in scripts?
And judging by the question, the conversation is about a script... Or are you discussing with a person who doesn't even understand the difference between Expert Advisors and scripts?
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.
Yes exactly, in order to reduce the number of combinations and optimisation time
When initialising, exclude ranges from optimisation explicitly or via a formula, then the pass will be terminated at initialisation, which will reduce the optimisation time.
Not recommended for genetics.When initialising, exclude ranges from optimisation explicitly or via formula, then the pass will terminate at initialisation, reducing the time to optimise.
Not recommended for genetics.Is initialisation called for each pass? Not clear how to get all variable values and the number of passes is not a constant, oversorting, etc. From xml csv file, but how in the optimisation process is not clear.
Is initialisation called for each pass?
Sure.
Not clear how to get all variable values and the number of passes is not a constant, re-sorting, etc. From xml csv file, but how in the optimisation process is not clear.
And during optimisation you can use the file - I don't understand the thought process.
Of course.
And when optimising you can use the file - I didn't understand the train of thought.
Just when optimising on all cores, you need your own file in a separate folder on the disc, 16 cores 16 files? It is at a single run it is clear where the file is located and read.
Just when optimising on all cores, the file needs its own file in a separate folder on the disc, 16 cores 16 files? It is at a single run it is clear where the file is located and read.
You need one file.
You make a reference to it in the code
and read it as usual during initialisation.
I need one file.
Make a link to it in the code
and read it as usual during initialisation.
It is not clear how to compare combinations from OnStart with combinations from OnInit. Or is there some way to get them directly from the optimisation process?
It is not clear how to compare combinations from OnStart with combinations from OnInit. Is there any way to get them directly from the optimisation process?
All comparisons in OnInit should be made. Directly - only after optimisation by saving to a file... Or you can calculate the number of combinations yourself and not use them.
All comparisons should be made in OnInit. Directly - only after optimisation by saving to a file.... Or calculate the number of combinations yourself and do not use them.
Alexey, is it okay that OnInit() doesn't exist in scripts?
Forum on trading, automated trading systems and testing trading strategies.
Questions from MQL5 MT5 MetaTrader 5 beginners
mwwm, 2023.01.31 16:01
It is not clear how to compare combinations from OnStart with combinations from OnInit. Is there any way to get them directly from the optimisation process?
Alexey, is it okay that OnInit() doesn't exist in scripts?
I think OnTick was meant.
I think what OnTick meant was.
Yeah, that's right, it's blurry.