|
WebCab Technical Analysis (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Local interface of Aroon. This interface provides the same functionality as the Aroon remote interface.
Aroon| Method Summary | |
double |
aroonDown(double[] lows)
Method aroonDown(double[]) as defined in the Aroon remote interface. |
double |
aroonOscillator(double aroonUpIndicator,
double aroonDownIndicator)
Method aroonOscillator(double, double) as defined in the Aroon remote interface. |
double |
aroonUp(double[] highs)
Method aroonUp(double[]) as defined in the Aroon remote interface. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
public double aroonUp(double[] highs)
Description copied from the Aroon interface:
The Aroon Up indicator measures the relative time since the last highest high. 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 the a low range (i.e. 0-30) in the Aroon Down indicator indicate an upward trend.
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).
highs - an array of the trading highs over the last n-periods
IllegalArgumentException - thrown is the `highs' array is empty.Aroon.aroonUp(double[])public double aroonDown(double[] lows)
Description copied from the Aroon interface:
Calculates the Aroon Down indicator which measures the relative time since the last lowest low. The indicator will return a value between 0 and 100, where a higher value indicates that the lowest low was achieved more recently. Persistent values between 70 and 100 are said to indicate weakness in the asset and in conjunction with the a low range (i.e. 0-30) in the Aroon Up indicator indicate an downward trend.
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).
lows - an array of the trading lows over the last n-periods
IllegalArgumentException - throw when the `lows' array is empty.Aroon.aroonDown(double[])
public double aroonOscillator(double aroonUpIndicator,
double aroonDownIndicator)
Description copied from the Aroon interface:
Evaluates the Aroon Oscillator over the last n-days which is given by 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.
aroonUpIndicator - the value of the Aroon Up IndicatoraroonDownIndicator - the value of the Aroon Down IndicatorAroon.aroonOscillator(double, double)
|
WebCab Technical Analysis (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||