I get the following error when compiling (as an indicator) the example code below. I believe the code is correct as is.
------ Compiled with error(s): ------
Common error
errLine 7, errColumn 40, errLineEnd 7, errColumnEnd 40
---------------------------------------
Inputs: Length(15);
Vars: count(0), LookBack(5), price(c);
For count = 0 to Length - 1
begin
Test = (c[count] – c[count + LookBack]);
end;
Compile Error [SOLVED]
Thanks for the reply - I forgot to add that in the example I posted. I still get the same error.
Inputs: Length(15);
Vars: count(0), LookBack(5), price(c), Test(0);
For count = 0 to Length - 1
begin
Test = (c[count] – c[count + LookBack]);
end;
Inputs: Length(15);
Vars: count(0), LookBack(5), price(c), Test(0);
For count = 0 to Length - 1
begin
Test = (c[count] – c[count + LookBack]);
end;