How do i map the optimal chromosomes a and b below to the rules? Couldn't find a menu option in the Optimizer that shows this mapping.
I'm not sure what order the rules are numbered in this ?ApplyRule command, which determines the chromosome.
ct = ApplyRule("", "stock_picking", -1);
// Information from AI Optimizer
// Update the following variables in your formula:
// a = 3
// b = 44
// r1 = 0
// r2 = 0
// w1 = 10
// pick Entry rules
ct = ApplyRule("", "stock_picking", -1); // Return number of rules
Optimize("a", 0, ct - 1, 1); // Optimize variable "a" from 0 to Number of rules -1
Optimize("b", 0, ct - 1, 1); // Optimize variable "a" from 0 to Number of rules -1
rule1 = ApplyRule("", "stock_picking", a) AND ApplyRule("", "stock_picking", b) ; // Execute the rule specified by the index value referenced by variable "a"
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.