WebCab Technical Analysis for Delphi (COM) v1.1

Aroon.AroonOscillatorOverPeriod Method (Double[], Double[])

Evaluates the Aroon Oscillator over all periods where sufficient historical data is provided.

public double[] AroonOscillatorOverPeriod(
   double[] aroonUp,
   double[] aroonDown
);

Parameters

aroonUp
An array where the first term is the Aroon Up Oscillator over the most recent period, the second term of the oscillator over the previous period and so on. Please note that the value of the Aroon Up Indicator over each period can be evaluated using AroonUp, alternatively you may evaluate the indicator over all periods using AroonUpOverPeriod.
aroonDown
An array where the first term is the Aroon Down indicator over the most recent period, the second term of the Aroon Down indicator over the previous period and so on. Please note that the value of the Aroon Down Indicator over each period can be evaluated using AroonDown, alternatively you may evaluate the indicator over all periods for the data provided using AroonDownOverPeriod.

Return Value

An array where the k-th term is the value of the Aroon Oscillator over the k-th previous period.

Remarks

Evaluation

The Aroon Oscillator over each period is evaluated using the following formulae:

Aroon Oscillator = (Aroon Up Indicator) - (Aroon Down Indicator),

where 'Aroon Up Indicator' can be evaluated using AroonUp, and 'Aroon Down Indicator' can be evaluated using AroonDown, where the same number of periods is used in the evaluation of each indicator.

Exceptions

Exception TypeCondition
ArgumentExceptionThrown when the array parameters aroonUp and aroonDown are empty or the lengths of these two arrays are not equal.

See Also

Aroon Class | WebCab.COM.Finance.Trading.Indicators Namespace | Aroon.AroonOscillatorOverPeriod Overload List | AroonOscillator