Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function AroonUp( _ ByVal seriesName As String, _ ByVal sc As SeriesCollection _ ) As Series |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static Series AroonUp( string seriesName, SeriesCollection sc ) |
Parameters
- seriesName
- The name of the series which will be displayed on the chart, i.e. its label.
- sc
- A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
The indicator will return a value between 0 and 100, where a higher
value indicates that the highest high was achieved more recently. Persistent
values between 70 and 100 are said to indicate strength in the asset and in
conjunction with a low range (i.e. 0-30) in the Aroon Down indicator,
indicates an upward trend.
Evaluation of the Aroon Up Indicator
The Aroon Up indicator is given by:
100(n - (number of days since last highest high over n days))/n
where n is the number of days being considered (a reasonable
default value for n is 14).