Quote:
Originally Posted by nondisclosure007
you were right. they were there, just waaaaay off. i changed the formula of where to put the arrow. now they all show up.
|
You also need to reset the avgRange to 0 before the loop.
avgRange = 0;
for (counter=i ;counter<=i+9;counter++)
{
avgRange=avgRange+MathAbs(High[counter]-Low[counter]);
}
Robert