Error in AFL formula:

rough3va=-1;
if (!IsEmpty(Trough1ba[arrayitem])) trough1va=arrayToWork[Trough1ba[arrayitem]];
if (!IsEmpty(Trough2ba[arrayitem])) trough2va=arrayToWork[Trough2ba[arrayitem]];
if (!IsEmpty(Trough3ba[arrayitem])) trough3va=arrayToWork[Trough3ba[arrayitem]
—————————————————————————–^

Error 29.
Variable ‘arraytowork’ used without having been initialized.

You might want to check the analysis of the following stocks too:
TSX:OSK - Osisko Expl Ltee TSX:OZN - Orezone Resources Inc
TSX:OC - Occulogix Inc TSX:OIL - Oilexco Inc
TSX:OMG - Opmedic Group Inc TSX:ONT - Ontex Resources Ltd
TSX:ORA - Aura Gold Inc TSX:ORB - Orbus Pharma Inc
TSX:ORI - Organic Resource Mgmt Inc TSX:OSI - Offshore Systems International