In general, to get me started, do you have sample code available for the selection of certain 'if' sets of conditions, such that they can be selected during an optimizer run to see which is best suited? I think I am looking to put something in the 'variables' to allow this to work?
ie:
// dont know how to tag these to make them switchable for optimizer
// this is my first condition pseudo code
{
if (ema20 < ema40)
{ exitlong;}
// this is my 2nd condition pseudo code
if (ema20 < ema60)
{ exitlong;}
}
When setting up the optimizer I expect I would have an option
'useSwitchesOptionForExits'
and then 1;2;1 to cycle through those conditions
Thanks!
Jon

Comment