Discussion of article "Genetic Algorithms - It's Easy!" - page 20

 
      ArtificialMutationAndrey Dik #:
Please show me the list of errors. The code is very old, but there is nothing to break even after 14 years.

the issue is with the variable "ArtificialMutation"  and the function. I changed the function to ArtificialMutationP and it works. 

The issues with the ServiceFunction and FitnessFunction error are fine, i understand what is going on there. I have attached screenshots.

When i try to compile UGA_script or UGA_the_alternative_ZigZag directly after extraction from the ZIP i get errors which come from the UGAlib.

Once i changed the function name (and its calling in case 2) to ArtificialMutationP it compiled and worked.

I still am working through your fine work to understand fully. Thank you

 

Question.

the historical data (the number of bars) is the gene count, is this correct?

 
gardee005 #:

Question.

the historical data (the number of bars) is the gene count, is this correct

yes
 
gardee005 #:

the issue is with the variable "ArtificialMutation"  and the function. I changed the function to ArtificialMutationP and it works. 

The issues with the ServiceFunction and FitnessFunction error are fine, i understand what is going on there. I have attached screenshots.

When i try to compile UGA_script or UGA_the_alternative_ZigZag directly after extraction from the ZIP i get errors which come from the UGAlib.

Once i changed the function name (and its calling in case 2) to ArtificialMutationP it compiled and worked.

I still am working through your fine work to understand fully. Thank you

Try this file

Thank you for the kind words.

Files:
UGAlib.mqh  66 kb
 
Read the article, didn't read the 20 pages of discussion. Question on the last example. Is there a graph of annual profitability of the original ZZ and after your modernisation?