com.jfx
Class AppliedPrice

java.lang.Object
  extended by com.jfx.AppliedPrice

public class AppliedPrice
extends java.lang.Object

Applied price constants.


Field Summary
static int _PRICE_CLOSE
           
static int _PRICE_HIGH
           
static int _PRICE_LOW
           
static int _PRICE_MEDIAN
           
static int _PRICE_OPEN
           
static int _PRICE_TYPICAL
           
static int _PRICE_WEIGHTED
           
static AppliedPrice PRICE_CLOSE
          Close price
static AppliedPrice PRICE_HIGH
          High price
static AppliedPrice PRICE_LOW
          Low price
static AppliedPrice PRICE_MEDIAN
          Median price, (high+low)/2.
static AppliedPrice PRICE_OPEN
          Open price
static AppliedPrice PRICE_TYPICAL
          Typical price, (high+low+close)/3.
static AppliedPrice PRICE_WEIGHTED
          Weighted close price, (high+low+close+close)/4.
 int val
           
 
Method Summary
static AppliedPrice getAppliedPrice(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRICE_CLOSE

public static final AppliedPrice PRICE_CLOSE
Close price


_PRICE_CLOSE

public static final int _PRICE_CLOSE
See Also:
Constant Field Values

PRICE_OPEN

public static final AppliedPrice PRICE_OPEN
Open price


_PRICE_OPEN

public static final int _PRICE_OPEN
See Also:
Constant Field Values

PRICE_HIGH

public static final AppliedPrice PRICE_HIGH
High price


_PRICE_HIGH

public static final int _PRICE_HIGH
See Also:
Constant Field Values

PRICE_LOW

public static final AppliedPrice PRICE_LOW
Low price


_PRICE_LOW

public static final int _PRICE_LOW
See Also:
Constant Field Values

PRICE_MEDIAN

public static final AppliedPrice PRICE_MEDIAN
Median price, (high+low)/2.


_PRICE_MEDIAN

public static final int _PRICE_MEDIAN
See Also:
Constant Field Values

PRICE_TYPICAL

public static final AppliedPrice PRICE_TYPICAL
Typical price, (high+low+close)/3.


_PRICE_TYPICAL

public static final int _PRICE_TYPICAL
See Also:
Constant Field Values

PRICE_WEIGHTED

public static final AppliedPrice PRICE_WEIGHTED
Weighted close price, (high+low+close+close)/4.


_PRICE_WEIGHTED

public static final int _PRICE_WEIGHTED
See Also:
Constant Field Values

val

public int val
Method Detail

getAppliedPrice

public static AppliedPrice getAppliedPrice(int val)


Copyright © 2008-2009 Roman Gerasimenko.