I'm trying to develop a function to find the rank of a price value among the last N price values. For example, I would like to find the rank of today's price among the price values for the last 60 days. How can I do that?
Also, are there sorting functions available? For example, if I wanted to sort the price values for the last 60 days, how would I do that?
Joe