com.jrefinery.data
Interface SignalsDataset
- All Superinterfaces:
- Dataset, SeriesDataset, XYDataset
- All Known Implementing Classes:
- SubSeriesDataset, SampleSignalDataset
- public interface SignalsDataset
- extends XYDataset
An interface that adds signal information to an XYDataset.
- Author:
- sylvain
Field Summary |
static int |
ENTER_LONG
Useful constant indicating trade recommendation. |
static int |
ENTER_SHORT
Useful constant indicating trade recommendation. |
static int |
EXIT_LONG
Useful constant indicating trade recommendation. |
static int |
EXIT_SHORT
Useful constant indicating trade recommendation. |
Method Summary |
double |
getLevel(int series,
int item)
Returns the level. |
int |
getType(int series,
int item)
Returns the type. |
ENTER_LONG
public static final int ENTER_LONG
- Useful constant indicating trade recommendation.
ENTER_SHORT
public static final int ENTER_SHORT
- Useful constant indicating trade recommendation.
EXIT_LONG
public static final int EXIT_LONG
- Useful constant indicating trade recommendation.
EXIT_SHORT
public static final int EXIT_SHORT
- Useful constant indicating trade recommendation.
getType
public int getType(int series,
int item)
- Returns the type.
- Parameters:
series
- the series (zero-based index).item
- the item (zero-based index).- Returns:
- the type.
getLevel
public double getLevel(int series,
int item)
- Returns the level.
- Parameters:
series
- the series (zero-based index).item
- the item (zero-based index).- Returns:
- the level.