WebCab Technical Analysis Web Services for Delphi v1.1

Aroon.AroonUpOverPeriod Method 

Evaluates the Aroon Up indicator which measures the relative time since the last highest high for all periods for which sufficient data is provided.

public double[] AroonUpOverPeriod(
   double[] highs,
   int period
);

Parameters

highs
An array where the k-th term is the trading high over the k-th previous period.
period
An integer which represents the length of the period over which the indicator will be iteratively evaluated.

Return Value

Returns of double array where the first term is the value of the Aroon Up indicator over the earliest set of consecutive periods on length period, and the second term is the value of the indicator over the next set of the consecutive periods (i.e. the windows is moved one place along), and so on.

Remarks

This indicator for each period 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) of the Aroon Down indicator, indicates an upward trend.

Evaluation

The Aroon Up indicator for each period is given by:

Aroon Up Indicator = 100 * (n - (number of periods since last highest high over n periods) ) / n,

where n is the number of periods being considered (a reasonable default value for n is 14).

Exceptions

Exception TypeCondition
ArgumentExceptionThrown is the highs array is empty, the array period is not a strictly positive integer or if it is greater than the length of the array highs.

See Also

Aroon Class | Indicators Namespace | AroonUp - this indicator is a special case of aroonUpOverPeriod indicator and calculates the Aroon Up indicator for a single period.