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;