PercentRank
|
Indicators |
| SYNTAX | PercentRank( array, range ) |
| RETURNS | ARRAY |
| FUNCTION | INPUTS:
Returns percent rank (0...100) of the current element of the array within all elements over the specified range. A value of 100 indicates that the current element of the array is the highest for the given lookback range, while a value of 0 indicates that the current value is the lowest for the given lookback range. It is equivalent (but 2x faster) to:
|
| EXAMPLE | |
| SEE ALSO |
The PercentRank function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.