org.encog.app.quant.indicators.predictive
Class BestClose
- java.lang.Object
-
- org.encog.app.analyst.csv.basic.BaseCachedColumn
-
- org.encog.app.quant.indicators.Indicator
-
- org.encog.app.quant.indicators.predictive.BestClose
-
public class BestClose extends Indicator
Get the best close.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringNAMEThe name of this indicator.
-
Constructor Summary
Constructors Constructor and Description BestClose(int thePeriods, boolean output)Construct the object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcalculate(java.util.Map<java.lang.String,BaseCachedColumn> data, int length)Calculate the indicator.intgetPeriods()-
Methods inherited from class org.encog.app.quant.indicators.Indicator
getBeginningIndex, getEndingIndex, require, setBeginningIndex, setEndingIndex
-
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
The name of this indicator.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BestClose
public BestClose(int thePeriods, boolean output)Construct the object.- Parameters:
thePeriods- The number of periods.output- True, if this indicator is to be predicted.
-
-
Method Detail
-
calculate
public final void calculate(java.util.Map<java.lang.String,BaseCachedColumn> data, int length)
Calculate the indicator.
-
getPeriods
public final int getPeriods()
- Specified by:
getPeriodsin classIndicator- Returns:
- The number of periods.
-
-
DMelt 3.0 © DataMelt by jWork.ORG