Class SupertrendLowerBand
java.lang.Object
trade.invision.indicators.indicators.Indicator<Num>
trade.invision.indicators.indicators.CachingIndicator<Num>
trade.invision.indicators.indicators.RecursiveIndicator<Num>
trade.invision.indicators.indicators.supertrend.SupertrendLowerBand
SupertrendLowerBand is a Num Indicator to provide the lower band of a Supertrend over a
length of values.- 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
ConstructorsModifierConstructorDescriptionprotectedSupertrendLowerBand(BarSeries barSeries, int length, Num multiplier, MovingAverageSupplier movingAverageSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected Numcalculate(long index) Performs the calculation of thisIndicatorat the givenindex.static SupertrendLowerBandsupertrendLowerBand(BarSeries barSeries, int length, Num multiplier, MovingAverageSupplier movingAverageSupplier) Gets aSupertrendLowerBand.Methods inherited from class trade.invision.indicators.indicators.RecursiveIndicator
getValueMethods inherited from class trade.invision.indicators.indicators.Indicator
caching, getMinimumStableIndex, getSeries, 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
-
SupertrendLowerBand
protected SupertrendLowerBand(BarSeries barSeries, int length, Num multiplier, MovingAverageSupplier movingAverageSupplier)
-
-
Method Details
-
supertrendLowerBand
public static SupertrendLowerBand supertrendLowerBand(BarSeries barSeries, int length, Num multiplier, MovingAverageSupplier movingAverageSupplier) Gets aSupertrendLowerBand.- Parameters:
barSeries- theBarSerieslength- the number of values to look back at (typically 10)multiplier- the multiplier (typically 3)movingAverageSupplier- theMovingAverageSupplier
-
calculate
Description copied from class:IndicatorPerforms the calculation of thisIndicatorat the givenindex.
-