Var = RSI();
count = Cum(Var>0); //number of array elements
period = LastValue(count) ;
perc = Percentile(Var, period,50) ;
Plot(LastValue( perc), "", colorRed);
--- In amibroker@xxxxxxxxx ps.com, "KBGlenn" <kbglenn@xxx > wrote:
>
> I'm at a loss how to do this as the Percentile function doesn't seem
> to apply.
>
> I'm trying to put a percentile ranking to all values in an array not
> just for a certain period. I understand the rankings will change as
> more data is collected but that if fine for my purposes.
>
> Any suggestions?
>