Returns the Relative Strength Index Calculation.
Declaration Syntax
Visual Basic |
Public Function RelativeStrengthIndex ( _ period As Integer, _ avgPeriod As Integer _ ) As RealCodeIndicatorCalculation
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 RelativeStrengthIndex
CopyVB.NET
plot = price.RelativeStrengthIndex(13,3).AVG(5)
See Also