Array Problem.

ForexSurfr
208

I have created a custom indicator that utilizes an array. Though I am having problems viewing indicator results as the first bar is being created. In other words as the first bar is being created there is a delay of one bar before my indicator shows the calculated results. Can someone help me to determine how to get my indicator to show results as the first bar is being created?

Files: