Category
Multi-Bar Functions
Description
RSI as a function
Syntax
RsiF(expr, count)
Parameters
expr - formula referencing bar data
count - formula specifying a number of bars
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.
|