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