Dear All,

I found some un-answered questions about array processing of the AFL.
--------------------------------------------------------------------
nn = 100;
nn    = IIf(V<Ref(V,-1), Ref(nn,-1) + (C-Ref(C,-1))/Ref(C,-1) * Ref(nn,-1), 
Ref(nn,-1));
Plot(nn,"",colorYellow);
//----------------------------------------------
n[0]=100;
for(i=1;i<BarCount;i++)
{
    if(V[i] < V[i-1])
        n[i] = n[i-1] + (C[i]-C[i-1])/C[i-1] * n[i-1];
    else
        n[i] = n[i-1];
}
Plot(n,"",colorRed);
------------------------------------------------------------------------------
Array of "n" is supposed to be the same as "nn" in the AFL below, but when they 
are plotted, they are not the same...It is the formula of NVI....

Could you help whey "n" is not the same as "nn"? or Do I make a mistake?



Thanks
Kus



      Berselancar lebih cepat dan lebih cerdas dengan Firefox 3
http://downloads.yahoo.com/id/firefox/

Reply via email to