Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function AroonDownOverPeriod( _ ByVal sc As SeriesCollection, _ ByVal lengthOfPeriod As Integer _ ) As SeriesCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static SeriesCollection AroonDownOverPeriod( SeriesCollection sc, int lengthOfPeriod ) |
Parameters
- 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.
- lengthOfPeriod
- An integer which represents the length of the period over which the indicator will be iteratively evaluated.
The indicator for each period will return a value between 0 and 100, where a higher
value indicates that the lowest low was achieved more recently. Persistent values between 70
and 100 are said to indicate weakness in the asset and in conjunction with a low range (i.e. 0-30)
in the Aroon Up indicator, indicates an downward trend.
Evaluation of the Aroon Down Indicator
The Aroon Down indicator for each period 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).