Navigation: Realtest Script Language > Syntax Element Details > Rank Category Multi-Bar Functions Description Numeric rank among values Syntax Rank(expr, count) Parameters expr - data series formula count - lookback period Notes expr is calculated for each bar, then results are sorted (ranked) from highest to lowest. The highest value is given a rank of 1, the next highest 2, and so on. See also PercentRank. Copyright © 2020-2025 Systematic Solutions, LLC