'Declaration Public Overloads Shared Function AroonOscillatorOverPeriod( _ ByVal sc As SeriesCollection, _ ByVal lengthOfPeriod As Integer _ ) As SeriesCollection
'Usage Dim sc As SeriesCollection Dim lengthOfPeriod As Integer Dim value As SeriesCollection value = FinancialEngine.AroonOscillatorOverPeriod(sc, lengthOfPeriod)
public static SeriesCollection AroonOscillatorOverPeriod( 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.
Return Value
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)
where 'Aroon Up Indicator' and `Aroon Down Indicator' are evaluated using.
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).
The Aroon Down 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).
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2