Problem with Icustom when back testing and optimizing.

 

Lately I come around a few EAs that forward test fine but fails back test or optimization. It looks like fault is in Icustom ().
I did change EA that it only calls Icustom when it needs it.
Anybody knows any way around it?

Any way to increase execution time limit when back testing or when optimizing?

Thanks for your reply!