Xceed Chart for WinForms v4.4 Documentation
Welcome to Xceed Chart for WinForms v4.4 / User Guide / Data Manipulation / Functions / Relative Strength Index
In This Topic
    Relative Strength Index
    In This Topic

    Syntax

    RSI(open; close; period)

    Arguments

    RSI is usually used with OHLC charts.
    The first two arguments are arrays: 'open' contains the open prices, and 'close' contains the close prices.
    The 'period' parameter defines the period for the calculations: it must be a constant greater than or equal to 1.

    Result

    The result is an array.
    The first 'period' elements of the result are marked as invalid.

    Description

    Relative Strength Index (RSI) is a popular momentum oscillator developed by J. Welles Wilder. The Relative Strength Index compares upward movements in closing price to downward movements over a selected period. The RSI ranges between 0 and 100. The formula of the RSI is:  

    RSI[n] = 100 - (100 / (1 + U[n] / D[n])) 

    where:

    U[n] = average value of the upward price change for the given period
    D[n] = average value of the downward price change for the given period 

    Relative Strength Index is smoother than the Momentum or Rate of Change oscillators and is not as susceptible to distortion from unusually high or low prices at the start of the window.

    Related Examples

    Windows Forms: Data Manipulation\Functions\Other Financial Functions