On 2/25/2010 2:02 PM, sohamdas wrote:
> for(i = 0; i< 6; i++)
> {
> InstPeriod[i] = 0; // Initialize early values and as array
> DeltaPhase[i] = 0;
> cycle[i]=0;
> Period[i]=0;
> }
>
You may try this:InstPeriod = iif ( barindex()< 6, 0,......); DeltaPhase = iif ( barindex()< 6, 0,....); cycle = iif ( barindex()< 6, 0,....); //--etc. -
