Attached PLA zip file raises the following error. (This forum did not allow me to upload PLA file directly. Weird.)
Message: Error in study "ERR_DynamicARR" : Dynamic array bounds.
This code works fine with TS2000i.
It was applied to a 5 min chart. MC V5 Beta3 and Beta4 have the same problem.
Please fix this bug.
[BUG Report] Dynamic array bounds
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact:
This bug has not been fixed in Beta 5 yet. Check again please.
Below, all the 3 lines with red-color raises the same array bounds error.
AverageVol = Average_a(VArr,endPoint);
StdVol = StdDevS_A(VArr,endPoint);
ERR_FN = AverageVol + StdVol * stR;
end else begin
Barnum = CurrentBar - Value22;
end;
If SkipBar < Barnum and Barnum <= TotBar then begin
VArr[APoint] = Vol;
Below, all the 3 lines with red-color raises the same array bounds error.
AverageVol = Average_a(VArr,endPoint);
StdVol = StdDevS_A(VArr,endPoint);
ERR_FN = AverageVol + StdVol * stR;
end else begin
Barnum = CurrentBar - Value22;
end;
If SkipBar < Barnum and Barnum <= TotBar then begin
VArr[APoint] = Vol;