RealCode API
WRSI Method (period, avgPeriod, barsAgo)
RealCode APIWBI.CommonBlocksRealCodeIndicatorWRSI(Int32, Int32, Int32)
Returns the Wilders Relative Strength Index Value. Offset by barsAgo
Declaration Syntax
Visual Basic
Public Function WRSI ( _
	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)
offset by barsAgo
Return Value
Returns a single data point
Remarks
Not used during manual loop calculations
Examples
Example: Plot the 17,3 Wilders Relative Strength Index 1 bar ago
CopyVB.NET
plot = price.WRSI(17,3,1)
See Also

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