|
WebCab Technical Analysis (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
These indicators measure to what degree on net an asset is being accumulated (i.e. brought) or distributed (i.e. sold) by the market as a whole.
| Method Summary | |
double |
accumulationDistribution(double high,
double low,
double volume)
The accumulation/distribution indicator illustrates the degree to which an asset is being accumulated or reduced by the market on a given day. |
double |
accumulationDistributionPeriod(double[] highs,
double[] lows,
double[] volume)
This indicator is a slight generalization of the AccumulationDistribution
indicator above, here the indicator may be evaluated with respect to a period of a days
rather than with respect to a one day period. |
double |
chaikinMoneyFlow(double[] high,
double[] low,
double[] closing,
double[] volume)
Chaikin Money Flow (CMF) is a volume weighted average of Accumulation/Distribution over a specified period, which is usually taken to be 21 days. |
double |
chaikinOscillator(double[] high,
double[] low,
double[] volume,
double smoothingFactor)
This method implements the Chaikin Oscillator (also known as the Chaikin A/D Oscillator). |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public double accumulationDistribution(double high,
double low,
double volume)
throws RemoteException
Application
A divergence between the price action and the accumulationDistribution indicator can signal
that a trend is nearing completion, a trends continuation and imminent break-outs from trading ranges.
The actual value of this indicator is of no significance, what is significant is its change in value
relative to the previous periods which can warn of a possible break-out during a trading range
(falling/rising indicator), the continuation of a trend (higher highs in uptrend, or lower lows
in downtrend) or a change/completion of a trend (divergence between the price action and the
direction of the indicator).
high - the intraday high for the given day under considerationlow - the intraday low for the given day under considerationvolume - the days volume for the given day under consideration
IllegalArgumentException - thrown if any of the parameters are strictly negative
numbers.
RemoteExceptiona slight variation which measures the Accumulation/Distribution
over a period.
public double accumulationDistributionPeriod(double[] highs,
double[] lows,
double[] volume)
throws RemoteException
AccumulationDistribution
indicator above, here the indicator may be evaluated with respect to a period of a days
rather than with respect to a one day period.
The period accumulation/distribution indicator (accumulationDistributionPeriod) illustrates the degree to which an asset is being accumulated or distributed by the market on a given period. The indicator uses the closing price's proximity to the high or low over the period to determine if accumulation or reduction is taking place in the market. The proximity measure if then multiplied by the volume over the period in order to give more weight to moves with correspondingly higher volume.
Interpretation
A divergence between the price action and the AccumulationDistribution indicator can signal
that a trend is nearing completion, a trends continuation and break-outs from trading ranges.
The actual value of this indicator is of no significance, what is significant is its change
in value relative to the previous periods which can warn of a possible break-out during a
trading range (falling/rising indicator), the continuation of a trend (higher highs in uptrend,
or lower lows in downtrend) or a change/completion of a trend (divergence between the price
action and the direction of the indicator).
highs - an array of the intraday highs over the periodlows - an array of the intraday lows over the periodvolume - an array of the volume on each day over the period
IllegalArgumentException - throw when the three arrays highs, lows, volume do not have the
same length, and when any element of these three arrays is a strictly negative number.
RemoteExceptionmeasure the accumulate/distribution on an asset over a single
trading period.
public double chaikinOscillator(double[] high,
double[] low,
double[] volume,
double smoothingFactor)
throws RemoteException
Interpretation
A sell signal is when price action develops a higher high into overbought zones and
the Chaikin Oscillator diverges with a lower high and begins to fall. Conversely, a
buy signal is generated when price action develops a lower low into oversold zones
and the oscillator diverges with a higher low and begins to rise. The Chaikin Oscillator
can also be used to time entry to existing trends by either buying the dip (when the
oscillator turns down) or selling the rally (when the oscillator turns up).
Evaluation
The Chaiken Oscillator is given by:
EMA_3(Accumulate/Distribution) - EMA_10(Accumulate/Distribution),
where EMA_3 and EMA_10 is the exponential moving average over 3 and 10 days respectively; and Accumulate/Distribution is the corresponding indicator over those 3 or 10 days respectively.
high - an array of 10 elements where the first term is the high in the last trading period, the second term is the high in the trading period before that, and so onlow - an array of 10 elements where the first term is the low in the last trading period, the second term is the low in the trading period before that, and so onvolume - an array of 10 elements where the first term is the volume in the last trading period, the second term is the volume in the trading period before that, and so onsmoothingFactor - the number between 0 and 1. The lower the number the more sensitive the moving average is.
IllegalArgumentException - thrown when the three arrays high, low, volume do not have
the same length and when the smoothing factor does not lie within the closed interval [0,1].
RemoteException
public double chaikinMoneyFlow(double[] high,
double[] low,
double[] closing,
double[] volume)
throws RemoteException
Interpretation
A sell signal is generated in positive over brought territory when higher highs diverge into a lower
high and the indicator continues to decrease. Conversely, a buy signal in generated in negative
oversold territory when lower lows diverge into a high low and the indicator continues to increase.
The CMF indicator can be used as a confirmation signal after a breakout of a trading range. When a market breaks higher then the breakout is confirmed if the CMF moves into positive territory and continues to get stronger. Conversely, if the market down after a trading range then the breakout if confirmed if the CMF move into negative territory and continues to weaken.
Evaluation
The CMF indicator is evaluated for the following steps:
high - an array where the first term in the high in the latest trading period and the second term is the high in the previous trading periods and so on... Until the last term which is the highest market price during the first period which is used in the evaluation of the CMF indicatorlow - an array where the first term in the low in the latest trading period and the second term is the low in the previous trading periods and so on... Until the last term which is the lowest market price during the first period which is used in the evaluation of the CMF indicator.closing - an array where the first term is the closing price in the latest trading period and the second term is the closing price in the previous trading periods and so on... Until the last term which is the closing price during the first period which is used in the evaluation of the CMF indicatorvolume - an array where the first term in the volume in the securities latest trading period and the second term is the securities volume in the previous trading periods and so on... Until the last term which is the securities volume during the first period which is used in the evaluation of the CMF indicator
IllegalArgumentException - thrown if the arrays high, low, close, volume do not have
the same length or if any element of these arrays is a strictly negative number.
RemoteException
|
WebCab Technical Analysis (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||