Strategy Tester: optimizer question

 

each time optimizer does next testing loop with a changed combination of extern values

Does it start EA fresh from init()?

ie, asif first time EA ran...

iow, each new testing loop init() called?

 
I dont know the answer to this question. My guess would be yes. Try putting a print in the init() and see if it is executed more than once, that should let you know the answer to your question.
 

thanx,


mr Print() is always my first port of call so already did that. I see no o/p = is not processed


my reasoning as to why not: since iterations can be many = tons of o/p and also takes time to deal with i/o and during optimization I would believe that o/p's mean little since purpose is to obtain set of values that best fit ones expectations...


more i think about it, seems crazy that optimizer would selectively 'exclude' one or more functions, and init,deinit are in the end just callable (by any code) functions...

Reason: