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 | |
|---|---|
java.lang.String |
toString()
|
static IIndicators.AppliedPrice |
valueOf(java.lang.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 |
|---|
clone, compareTo, equals, finalize, 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(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<IIndicators.AppliedPrice>