|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IIndicators.AppliedPrice>
com.dukascopy.api.IIndicators.AppliedPrice
public static enum IIndicators.AppliedPrice
Used to specify which price to use for indicator calculation
Enum Constant Summary | |
---|---|
CLOSE
Close price |
|
HIGH
High price |
|
LOW
Low price |
|
MEDIAN_PRICE
Median price (HL/2) |
|
OPEN
Open price |
|
TIMESTAMP
Date and time of bar |
|
TYPICAL_PRICE
Typical price (HLC/3) |
|
VOLUME
Volume of bar |
|
WEIGHTED_CLOSE
Weighted close price (HLCC/4) |
Method Summary | |
---|---|
String |
toString()
|
static IIndicators.AppliedPrice |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IIndicators.AppliedPrice[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IIndicators.AppliedPrice CLOSE
public static final IIndicators.AppliedPrice OPEN
public static final IIndicators.AppliedPrice HIGH
public static final IIndicators.AppliedPrice LOW
public static final IIndicators.AppliedPrice MEDIAN_PRICE
public static final IIndicators.AppliedPrice TYPICAL_PRICE
public static final IIndicators.AppliedPrice WEIGHTED_CLOSE
public static final IIndicators.AppliedPrice TIMESTAMP
public static final IIndicators.AppliedPrice VOLUME
Method Detail |
---|
public static IIndicators.AppliedPrice[] values()
for (IIndicators.AppliedPrice c : IIndicators.AppliedPrice.values()) System.out.println(c);
public static IIndicators.AppliedPrice valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<IIndicators.AppliedPrice>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |