WebCab Technical Analysis
(J2EE Edition)

com.webcab.ejb.finance.trading.indicators
Interface Filters

All Superinterfaces:
EJBObject, Remote

public interface Filters
extends EJBObject

Here we details a number of filters which can be applied to `clean' the underlying time series making it more amendable to analysis.


Method Summary
 double medianPrice(double high, double low)
          Evaluates the Median Price which is the midpoint of each days trading range.
 double typicalPrice(double high, double low, double closing)
          Evaluates the Typical Price which is arithmetic average of the high, low and closing price for a trading day.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

typicalPrice

public double typicalPrice(double high,
                           double low,
                           double closing)
                    throws RemoteException
Evaluates the Typical Price which is arithmetic average of the high, low and closing price for a trading day. The Typical Price is often used in place of the closing price within trading systems.

Parameters:
high - the high of the last trading day
low - the low of the last trading day
closing - the closing price on the last trading day
RemoteException

medianPrice

public double medianPrice(double high,
                          double low)
                   throws RemoteException
Evaluates the Median Price which is the midpoint of each days trading range. By replacing an interval with a point you are able to draw a daily line chart of a securities price action.

Parameters:
high - the traded high on the trading day under consideration
low - the traded low on the trading day under consideration
RemoteException

WebCab Technical Analysis
(J2EE Edition)