Hi Even after i increase the defparam preloadbars = 5000 i still get the error message and my automatic code is rejected. I have tried setting to 0 and also removed it totally and my code still stops. The error message is the basic …please increase the number off preloaded bars with instruction DEFPARAM etc etc Code works fine on back test – has also previously worked as automatic code before i have increase some filters in the code which is now causing the problem.