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
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
Not used during manual loop calculations
Example: Plot the 17,3 Relative Strength Index 1 bar ago
plot = price.RSI(13,3,1)
See Also

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