RealCode API
WildersRelativeStrengthIndex Method (period, avgPeriod)
RealCode APIWBI.CommonBlocksRealCodeIndicatorWildersRelativeStrengthIndex(Int32, Int32)
Returns the Wilders Relative Strength Index Calculation.
Declaration Syntax
Visual Basic
Public Function WildersRelativeStrengthIndex ( _
	period As Integer, _
	avgPeriod As Integer _
) As RealCodeIndicatorCalculation
Parameters
period (Int32)
The number of bars to perform the average
avgPeriod (Int32)
The averagePeriod for the Relative Strength
Return Value
Returns a RealCodeIndicatorCalculation. Can be used to chain more function calls
Remarks
Not used during manual loop calculations
Examples
Example: Plot the 5 bar moving average of the 17,3 Wilders Relative Strength Index
CopyVB.NET
plot = price.WildersRelativeStrengthIndex(13,3).AVG(5)
See Also

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