Navigation: Realtest Script Language > Syntax Element Details > RsiF Category Multi-Bar Functions Description RSI as a function Syntax RsiF(expr, count) Parameters expr - data series formula count - lookback period Notes The standard RSI indicator always uses the series of closing prices for its calculations. This function makes it possible to calculate RSI for any series of values. Calculation uses the original Welles Wilder formula. Wilder's exponential smoothing is equivalent to using 2*len-1 in a regular exponential moving average. This function supports one-pass calculation when used in the Data Section with a non-variable count. Copyright © 2020-2025 Systematic Solutions, LLC