Class PredictiveLeastSquaresMovingAverage
java.lang.Object
trade.invision.indicators.indicators.Indicator<Num>
trade.invision.indicators.indicators.ma.lsma.PredictiveLeastSquaresMovingAverage
PredictiveLeastSquaresMovingAverage is a Num Indicator to provide a predictive Least Squares
Moving Average (PLSMA) over a length of values. This is the same as LeastSquaresMovingAverage,
but with LinearRegressionResultType.NEXT_Y.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class trade.invision.indicators.indicators.Indicator
Indicator.CacheSeries -
Field Summary
Fields inherited from class trade.invision.indicators.indicators.Indicator
cachedAddCallCount, cachedIndex, cachedValue, cacheSeries, minimumStableIndex, series -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPredictiveLeastSquaresMovingAverage(Indicator<Num> indicator, int length) -
Method Summary
Methods inherited from class trade.invision.indicators.indicators.Indicator
caching, getMinimumStableIndex, getSeries, getValue, isCaching, numOf, numOf, numOf, numOf, numOfEight, numOfFive, numOfFour, numOfHalf, numOfHundred, numOfHundredth, numOfNegativeOne, numOfNine, numOfOne, numOfSeven, numOfSix, numOfTen, numOfTenth, numOfThousand, numOfThousandth, numOfThree, numOfTwo, numOfZero, purgeCache
-
Constructor Details
-
PredictiveLeastSquaresMovingAverage
-
-
Method Details
-
plsma
- See Also:
-
predictiveLeastSquaresMovingAverage
public static PredictiveLeastSquaresMovingAverage predictiveLeastSquaresMovingAverage(Indicator<Num> indicator, int length) - Parameters:
indicator- theIndicatorlength- the number of values to look back at
-
calculate
Description copied from class:IndicatorPerforms the calculation of thisIndicatorat the givenindex.
-