public enum DataType extends Enum<DataType>
Modifier and Type | Class and Description |
---|---|
static class |
DataType.DataPresentationType |
Enum Constant and Description |
---|
LINE_BREAK
Line Break lines (bars)
|
POINT_AND_FIGURE
P&F
Point and figure charts are composed of a number of columns
that either consist of a series of stacked Xs or Os.
|
PRICE_RANGE_AGGREGATION
Range Bars for 2 pips, 3 pips, 4 pips, etc
|
RENKO
A Renko bars (bricks) are constructed by placing a brick
in the next column once the price surpasses the top or
bottom of the previous brick by a predefined amount
|
TICK_BAR
Bar which consists of exact number of ticks
|
TICKS
Just ticks
|
TIME_PERIOD_AGGREGATION
Candles for periods 1 sec, 10 sec, 1 min, etc
|
Modifier and Type | Method and Description |
---|---|
Set<DataType.DataPresentationType> |
getSupportedPresentationTypes() |
boolean |
isPresentationTypeSupported(DataType.DataPresentationType presentationType) |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType TICKS
public static final DataType TICK_BAR
public static final DataType TIME_PERIOD_AGGREGATION
public static final DataType PRICE_RANGE_AGGREGATION
public static final DataType POINT_AND_FIGURE
public static final DataType RENKO
public static final DataType LINE_BREAK
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic Set<DataType.DataPresentationType> getSupportedPresentationTypes()
public boolean isPresentationTypeSupported(DataType.DataPresentationType presentationType)
Copyright © 2016. All rights reserved.