NumericRank Function

Questions about MultiCharts and user contributed studies.
Spikehog
Posts: 39
Joined: 09 Dec 2013
Has thanked: 26 times
Been thanked: 1 time

NumericRank Function

Postby Spikehog » 04 Nov 2015

Regarding the "NumbericRank" function, it returns the rank of a specified price in a sorted price series. To my understanding, it basically looks for the location (rank) of the value PriceToRank in the list. Correct me if I am wrong: it can return any number between 0 to 9 if the number of bars to consider is 10? Thanks.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: NumericRank Function

Postby Henry MultiСharts » 18 Nov 2015

Hello Spikehog,

The NumericRank function returns a value from 1 to Len or -1.


Return to “MultiCharts”