public class BestClose extends Indicator
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME
The name of this indicator.
|
| Constructor and Description |
|---|
BestClose(int thePeriods,
boolean output)
Construct the object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
calculate(java.util.Map<java.lang.String,BaseCachedColumn> data,
int length)
Calculate the indicator.
|
int |
getPeriods() |
getBeginningIndex, getEndingIndex, require, setBeginningIndex, setEndingIndexpublic static final java.lang.String NAME
public BestClose(int thePeriods,
boolean output)
thePeriods - The number of periods.output - True, if this indicator is to be predicted.public final void calculate(java.util.Map<java.lang.String,BaseCachedColumn> data, int length)
public final int getPeriods()
getPeriods in class Indicator