Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function AroonOscillator( _ ByVal elementName As String, _ ByVal s As Series _ ) As Element |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public static Element AroonOscillator( 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 where the first term is the traded low of the asset within the most recent trading period, the second term is the traded low of the asset within the previous period and so on.
Evaluation of the Aroon Oscillator
The Aroon Oscillator over each period is evaluated using the following formulae:
Aroon Oscillator = (Aroon Up Indicator) - (Aroon Down Indicator).