Hi dusktrader. I don't think the sizeof is giving you what you want. Since vars is the pointer to an array of var, sizeof will only return the length of the pointer. Instead, if each var is 4 bytes and the length of your series is defaulted to LookBack, shouldn't the length be 4*LookBack?