Any suggestions
while (SetArr <= 5)
{Print("SetArr_loop1: " +(SetArr));
VS[SetArr * 4 + 0] = (Open[SetArr] - Close[SetArr + 1]) / Close[SetArr + 1];
VS[SetArr * 4 + 1] = (High[SetArr] - Close[SetArr + 1]) / Close[SetArr + 1];
VS[SetArr * 4 + 2] = (Low[SetArr] - Close[SetArr + 1]) / Close[SetArr + 1];
VS[SetArr * 4 + 3] = (Close[SetArr] - Close[SetArr + 1]) / Close[SetArr + 1];
SetArr++;
}
Error on calling #OnBarUpdate# on bar 0:
Thanks
Comment