Evaluates the Aroon Oscillator over all periods where sufficient historical data is provided using only price data.
An array where the first term is the value of the Aroon Oscillator for the most recent period, the second term is the value of the Aroon Oscillator for the previous period and so on.
The Aroon Oscillator over each period is evaluated using the following formulae:
Aroon Oscillator = (Aroon Up Indicator) - (Aroon Down Indicator),
where the '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. Formally speaking the Aroon Up and Aroon Down indicators are given by the following formulae.
The Aroon Up indicator is given by:
Aroon Up Indicator = 100 * (n - (number of periods since last highest high over n periods) ) / n,
where n is the number of periods being considered (a reasonable default value for n is 14).
The Aroon Down indicator is given by:
Aroon Down Indicator100 * (n - (number of periods since last highest high over n periods) ) / n.
where n is the number of periods being considered (a reasonable default value for n is 14).
| Exception Type | Condition |
|---|---|
| ArgumentException | Thrown when the 'lows' or 'highs' array is empty or not equal, the length is not a strictly positive integer or if it is greater than the length of the array lows. |
Aroon Class | WebCab.COM.Finance.Trading.Indicators Namespace | Aroon.AroonOscillatorOverPeriod Overload List