org.encog.app.quant.indicators.predictive
public class BestReturn extends Indicator
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of this indicator.
|
Constructor and Description |
---|
BestReturn(int thePeriods,
boolean output)
Construct the object.
|
Modifier and Type | Method and Description |
---|---|
void |
calculate(Map<String,BaseCachedColumn> data,
int length)
Calculate the indicator.
|
int |
getPeriods() |
getBeginningIndex, getEndingIndex, require, setBeginningIndex, setEndingIndex
public static final String NAME
public BestReturn(int thePeriods, boolean output)
thePeriods
- The number of periods.output
- True, if this indicator is to be predicted.public final void calculate(Map<String,BaseCachedColumn> data, int length)
public final int getPeriods()
getPeriods
in class Indicator
Copyright © 2014. All Rights Reserved.