![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
What's that? By replacing the incorrects with the nearest corrections ??? I'm afraid it all depends on how we distribute those same incorrections. It's quite possible that the nearest corrections - will be away from the top.
And it will turn out that instead of wrong sets of parameters - we will have correct results - which also, in my opinion, should not be done - what do we find then? We'll get a maximum, and it will have an incorrect set of parameters ?
Honestly, I don't see a problem. However, my competence on the variant under discussion is zero.
I think @Andrey Dik can help on these issues. But even constructive criticism of the regular GA didn't end well for him...
Banned, unfortunately. Sending rays of unbanning to the administration, well, how much longer can you?
How about writing a function that only outputs valid chains by number ?
The first thing that comes to mind is a table of 117649 values, and let genetics look for numbers in this table.
No, the table with valid chains would be much smaller, but even if there are 5000 of them, how can we write them and not get confused?
No, the table with the correct chains will be considerably smaller, but even if there are 5000 of them, how do you spell them out and not get confused?
To a file dump. Then look up the pass number and match it to what is in the file.
Into the file reset. Then see the pass number and match it to what is in the file.
I meant how not to confuse, not to repeat, not to miss during the prescription process itself?
I meant how not to confuse, not to repeat, not to miss in the process of prescription itself?
In this example, the result will strongly depend on the order in which the for loops are placed. All because of this peculiarity.
Forum on trading, automated trading systems and strategy testing
Not for MT Developers! What to replace INIT_PARAMETERS_INCORRECT with ?
fxsaber, 2018.07.10 16:27
Obviously if you trace a full enumeration of y = x^2. Then randomly shuffle the opimization rows and create a new set based on the shuffling. Then the GA will not find the vertex of the parabola.
Not more than a week ago I was banned for a similar thread for a moment and the thread/survey was ripped out as an unnecessary page with roots.
As for the question, I already wrote that it would be optimal to exclude all combinations that are forbidden, this can be optimally done by the developer, otherwise you need to make a script that runs through all combinations and saves only allowed combinations into a file, and already load that file for optimization using genetics.
I'm inclined to conclude that the author's problem is with the architecture of his program.
Thanks for your opinion, but there's no discussion here about the architecture of the programme. In case you haven't noticed...
Obviously, if you trace a complete enumeration of y = x^2. Then randomly shuffle the opimization strings and create a new set based on the shuffling. The GA will not find the top of the parabola.
I have created a test Expert Advisor for the optimizer's mat mode
I markedin red the vulnerabilities, weaknesses and current errors of MT5 that appeared while writing the example.