[BUG Report] Dynamic array bounds

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

[BUG Report] Dynamic array bounds

Postby 2haerim » 04 Mar 2009

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.
Attachments
ERR_LYJ_Meritz.zip
(1.99 KiB) Downloaded 143 times

User avatar
Andrew Kirillov
Posts: 1589
Joined: 28 Jul 2005
Has thanked: 2 times
Been thanked: 31 times
Contact:

Postby Andrew Kirillov » 14 Mar 2009

confirmed.

2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

Postby 2haerim » 01 Apr 2009

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;


Return to “MultiCharts”