Expert using Shaff Trend Cycle - "Zero Divide" Error - Help Please

 
I've run into a problem here coding my 1st expert.

The parameters I am having problems with are here:

double Schaff = iCustom(NULL, PERIOD_H1, "Schaff Trend Cycle", 23, 50, 10.0, 5000, 1, 0);
double pSchaff = iCustom(NULL, PERIOD_H1, "Schaff Trend Cycle", 23, 50, 10.0, 5000, 1, 1);

I don't even call the Shcaff and pSchaff variables yet, because I'm still getting this "zero divide" error. I only have them in the expert as you see them above. Please let me know what I'm doing wrong here. I'd like to add the variables in, but can't seem to get it right.
 
I should also add that there are only 1100 bars in the backtest data and the CountBars variable is set to 5000 as can be seen in the iCustom function above.