public static enum Enums.BarInput extends java.lang.Enum<Enums.BarInput>
Enum Constant and Description |
---|
CLOSE
Closing price.
|
HIGH
High price.
|
LOW
Low price.
|
MIDPOINT
Midpoint (High + Low)/2.
|
OPEN
Opening price.
|
OPEN_INTEREST
Open Interest
|
TP
Typical Price (High + Low + Close)/3.
|
TR
True Range (Range: High, Low, previous Close).
|
VOLUME
Volume.
|
WAP
Weighted Average Price (considers volume, not available from all data sources)
|
WP
Weighted Price (Open + High + Low + Close)/4.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Gets the description.
|
java.lang.String |
getLabel()
Gets the locale dependent label for this input.
|
static Enums.BarInput[] |
getPriceInputs() |
java.lang.String |
getShortLabel()
Gets the short version of the label.
|
static Enums.BarInput[] |
getVolumeInputs() |
java.lang.String |
toString()
This method has been overridden to display a user friendly version of
the input type for use in combo boxes etc.
|
static Enums.BarInput |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.BarInput[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.BarInput OPEN
public static final Enums.BarInput CLOSE
public static final Enums.BarInput MIDPOINT
public static final Enums.BarInput HIGH
public static final Enums.BarInput LOW
public static final Enums.BarInput TP
public static final Enums.BarInput WP
public static final Enums.BarInput TR
public static final Enums.BarInput WAP
public static final Enums.BarInput VOLUME
public static final Enums.BarInput OPEN_INTEREST
public static Enums.BarInput[] values()
for (Enums.BarInput c : Enums.BarInput.values()) System.out.println(c);
public static Enums.BarInput 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Enums.BarInput>
public java.lang.String getLabel()
public java.lang.String getShortLabel()
public java.lang.String getDescription()
public static Enums.BarInput[] getPriceInputs()
public static Enums.BarInput[] getVolumeInputs()