RealCode API
RSI Method (period, avgPeriod, barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorRSI(Int32, Int32, Int32)
Returns the Relative Strength Index Value.
Declaration Syntax
Visual Basic
Public Function RSI ( _
	period As Integer, _
	avgPeriod As Integer, _
	barsAgo As Integer _
) As Single
Parameters
period (Int32)
The number of bars to perform the average
avgPeriod (Int32)
The averagePeriod for the Relative Strength
barsAgo (Int32)
The offset bars ago
Return Value
Returns a single data point
Remarks
Not used during manual loop calculations
Examples
Example: Plot the 17,3 Relative Strength Index 1 bar ago
CopyVB.NET
plot = price.RSI(13,3,1)
See Also

Assembly: WBI.CommonBlocks (Module: WBI.CommonBlocks) Version: 1.0.25.0 (1.0.0.0)