dotnetCHARTING Send comments on this topic.
AroonUpOverPeriod(Series,Int32) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > AroonUpOverPeriod Method : AroonUpOverPeriod(Series,Int32) Method


s
An financial series of the trading highs over the last n-periods where the k-th term of the array if the trading high on the k-th previous period.
lengthOfPeriod
An integer which represents the length of the period over which the indicator will be iteratively evaluated.
Evaluates the Aroon Up indicator which measures the relative time since the last highest high for all periods for which sufficient data is provided.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function AroonUpOverPeriod( _
   ByVal s As Series, _
   ByVal lengthOfPeriod As Integer _
) As Series
Visual Basic (Usage)Copy Code
Dim s As Series
Dim lengthOfPeriod As Integer
Dim value As Series
 
value = FinancialEngine.AroonUpOverPeriod(s, lengthOfPeriod)
C# 
public static Series AroonUpOverPeriod( 
   Series s,
   int lengthOfPeriod
)

Parameters

s
An financial series of the trading highs over the last n-periods where the k-th term of the array if the trading high on the k-th previous period.
lengthOfPeriod
An integer which represents the length of the period over which the indicator will be iteratively evaluated.

Return Value

Returnsa series where the first term is the values of the Aroon Up indicator over the earliest set of consecutive periods and the second term is the value of the next set of the periods (i.e. the windows is moving 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 of the Aroon Up Indicator

The Aroon Up 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).

See Also