- Main test - dismissed: Initial population filter: Profit factor[Main data] (0.3) > 0.5 in 1.13 s. 01:27:32 Strategy 1.0.3 - Main test - dismissed: Initial population filter: Avg. Trades Per Month[Main data] (0.06) > 1 in 1.13 s. 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Generating initial population for island #1 01:27:31 -- Evolution on island #1 restarted because of stagnation 01:27:31 -- Evolution on island #1 finished 01:27:31 -- Evolving generation 14 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 13 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 12 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 11 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 10 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 9 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 8 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 7 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 6 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 5 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 4 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 3 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 2 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Evolving generation 1 population for island #1 01:27:31 Starting synchronization of databank 'Last generation'... 01:27:31 -- Initial population for island #1 generated 01:27:31 Strategy 1.0.148 - Main test - dismissed: Initial population filter: Profit factor[Main data] (0.47) > 0.5 in 1.16 s. 01:27:31 Strategy 1.0.147 - Main test - OK in 0.96 s. - initial generation, not saving to databank
Interestingly the fitness evolution actually progresses! How could that be if no new strategies are ever tested?
Crossover appears to do nothing more than create multiple copies (2 or more) of the best performers and delete the lowest performers (and applies mutation as necessary.) No new offspring (genes of 2 parents blended together) strategies are being generated at all. Apparently, only the mutation process can actually create brand new strategies. (Apparently mutation rate is applied to each block/operator/variable so try keeping it at 1-2% and you will see a low amount of new strategies regardless of crossover rate.)
https://en.wikipedia.org/wiki/Crossover_(genetic_algorithm)#:~:text=In%20genetic%20algorithms%20and%20evolutionary,parents%20to%20generate%20new%20offspring.&text=Typical%20data%20structures%20that%20can,of%20real%20numbers%2C%20or%20trees.
"In genetic algorithms and evolutionary computation, crossover, also called recombination, is a genetic operator used to combine the genetic information of two parents to generate new offspring."
Attachment Screenshot 15.png added
Attachment builder-settings-proves-no-breeding.cfx added
Attachment Screenshot 16.png added
Attachment Screenshot 17.png added
Attachment Screenshot 18.png added
Attachment Screenshot 19.png added
Attachment Screenshot 20.png added
Attachment Screenshot 21.png added
Attachment Screenshot 22.png added
Attachment Screenshot 23.png added
Attachment builder-settings-proves-no-breeding-2.cfx added
Attachment builder-settings-proves-no-breeding-3.cfx added
Holy sh... That explains a lot! What a great find! I was always wondering why there seems to be no real crossover happening. Now this all makes sense and I can confirm that I can reproduce this too. The crossover is simply not working at all. Amazing how this could not get noticed by the developers at all.
Status changed from New to Fixed
It will be fixed in the next build.
it is not fixed
check again
reported this issue 3 months ago
sqx produces same strategies
Status changed from In progress to Fixed
The fact that there are some repeating strategies doens't mean that it doesn't work, crossower doest't produces better strategies most of the time.
If you'll set mutation to 0 and crossover to 50-100% you'll see that there is still progress in evolution and fitness is increasing.
I was looking at b129 for this bug report.
In build 130 dev1 there does appear to be some gene swapping! Nice work! However, there are some other issues which I have began reporting separately in other tickets.
genetics gets stuck in a rut, and produces 99% of the same
can you push sqx to do other evolution strategies
forbid indicators that already produced strategy