Modifier and Type | Class and Description |
---|---|
static class |
DataType.DataPresentationType |
Enum Constant and Description |
---|
KAGI
Kagi lines (bars)
|
LINE_BREAK
Line Break lines (bars)
|
POINT_AND_FIGURE
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 |
---|---|
java.util.Set<DataType.DataPresentationType> |
getSupportedPresentationTypes() |
boolean |
isPresentationTypeSupported(DataType.DataPresentationType presentationType) |
static DataType |
valueOf(java.lang.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 final DataType KAGI
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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.util.Set<DataType.DataPresentationType> getSupportedPresentationTypes()
public boolean isPresentationTypeSupported(DataType.DataPresentationType presentationType)
Copyright © 2024. All rights reserved.