TechnicalAnalysisRoutinesCalculateRelativeStrengthIndex Method |
LightningChart .NET Help
Calculate Relative Strength Index (RSI) using given number of time periods, N
Namespace:
Arction.CustomControls.Trader.WinForms.Routines
Assembly:
Arction.WinForms.TradingCharts (in Arction.WinForms.TradingCharts.dll) Version: 10.3.1
Syntaxpublic static double[] CalculateRelativeStrengthIndex(
double[] values,
int n
)
Public Shared Function CalculateRelativeStrengthIndex (
values As Double(),
n As Integer
) As Double()
public:
static array<double>^ CalculateRelativeStrengthIndex(
array<double>^ values,
int n
)
Parameters
- values
- Type: SystemDouble
Input values, typically Close values. - n
- Type: SystemInt32
Count of values over which the smoothing calculation is applied
Return Value
Type:
DoubleRSI values
See Also