if (not IsNull(src[BarCount-i]))
count1 = count1 + 1;
mean1 = sum1/len;
I'm new to AFL. Above is my AFL code.
I get Error 33. "The identifier is already in use. You attempted to assign value to the identifier representing a function. If you want to return value from a function, you should use RETURN statement instead."
I identified the error. I was trying to use the same identifier for a different function and it's return variable. It was calling the above function for a calculation and the error got triggered mentioning this function.
Thanks Tomasz for the help. I'm becoming a huge fan of amibroker every further day. It's less than a week since I started. I wish I tried amibroker long back.