It means that if you have series A,B,C, you must call them always in the same order: first A, then B, then C. Not sometimes A and sometimes B and sometimes nothing, as in your original script where you did not call the ATR in every run. The error messages and their reasons are listed in the manual: http://manual.zorro-project.com/errors.htm