RSI

Shows relative predominance of tendency to increase over tendency to decrease for PERIOD time periods. It’s useful to detecting conditions of overbought and oversold market, thus it shows the possibility to change trend direction. If RSI is closer to 100, then it points out the predominance of tendency to rising (the market is possibly overbought). If RSI is closer to 0, then it points out the predominance of tendency to falling (the market is possibly oversold).

Syntax:

Public Function RSI(ByVal RSIIn() As Double, ByVal Lag As Long) As Double

Parameters:

  • ByVal RSIIn() As Double
  • ByVal Lag As Long

Back to list

 

Example:

 

    Dim TA4Net As New TA4Net.CTAFunctions("YOUR-REGISTRATION-CODE")

    Dim Result() As Double

    Dim CloseValues() As Double

 

    ' loading values to array

    CloseValues = GetCloseValues()

    ' calculating Technical Analysis function

    Result = TA4Net.RSI(CloseValues, 14)

 


TA4.NET® Franz AG 2004©
Web site: http://www.ta4.net
e-mail: support@ta4.net

Browser Based Help. Published by chm2web software.