help me,cal array problom

 
for(i=0;i<=limit;i++)
      {
         double xy=MathPow(bar/2,2); 
         count[i]=0;
         ave[i]=0;
         chazhi[i]=0;
         countpingjuncang[i]=0;
       
  
                
                 for(x=i;x<=i+10;x++)
                    {
                        count[i]=count[i]+Close[x];  
                    }

                  //Alert("count[i]=",count[i]);

 

 I want to sum the front 10 K line's close price ,but i can't get the value ,why

 
zdj231:

<CODE DELETED> 


 I want to sum the front 10 K line's close price ,but i can't get the value ,why

Please read some other posts before posting . . .

Please   edit   your post . . .    please use the   SRC   button to post code: How to use the   SRC   button. 

 
zdj231:

 

 I want to sum the front 10 K line's close price ,but i can't get the value ,why

Show the code where you have declared the array.