RealCode API
RelativeStrengthIndex Method (period, avgPeriod)
RealCode APIWBI.CommonBlocksRealCodeIndicatorRelativeStrengthIndex(Int32, Int32)
Returns the Relative Strength Index Calculation.
Declaration Syntax
Visual Basic
Public Function RelativeStrengthIndex ( _
	period As Integer, _
	avgPeriod As Integer _
) As RealCodeIndicatorCalculation
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
Not used during manual loop calculations
Example: Plot the 5 bar moving average of the 17,3 RelativeStrengthIndex
plot = price.RelativeStrengthIndex(13,3).AVG(5)
See Also

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