| Visual Basic (Declaration) | |
|---|---|
Overloads Public Shared Function AroonUp( _ ByVal elementName As String, _ ByVal s As Series _ ) As Element  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
| C# | |
|---|---|
public static Element AroonUp( string elementName, Series s )  | |
Parameters
- elementName
 - The name of the element which will be displayed on the chart, i.e. its label.
 - s
 - A series of the trading highs over the last n-periods where the k-th terms of the array if the trading high on the k-th previous period.
 
            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).