Class AwesomeOscillator
java.lang.Object
trade.invision.indicators.indicators.Indicator<Num>
trade.invision.indicators.indicators.macd.MovingAverageConvergenceDivergence
trade.invision.indicators.indicators.ao.AwesomeOscillator
AwesomeOscillator is a Num Indicator to provide the Awesome Oscillator (AO) over a
shortLength and longLength of Bars.- 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
ConstructorsModifierConstructorDescriptionprotectedAwesomeOscillator(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier) -
Method Summary
Modifier and TypeMethodDescriptionstatic AwesomeOscillatorao(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier) static AwesomeOscillatorawesomeOscillator(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier) Gets aAwesomeOscillator.Methods inherited from class trade.invision.indicators.indicators.macd.MovingAverageConvergenceDivergence
calculate, macd, movingAverageConvergenceDivergenceMethods 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
-
AwesomeOscillator
protected AwesomeOscillator(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier)
-
-
Method Details
-
ao
public static AwesomeOscillator ao(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier) - See Also:
-
awesomeOscillator
public static AwesomeOscillator awesomeOscillator(BarSeries barSeries, int shortLength, int longLength, MovingAverageSupplier movingAverageSupplier) Gets aAwesomeOscillator.- Parameters:
barSeries- theBarSeriesshortLength- the short averaging length (typically 5)longLength- the long averaging length (typically 34)movingAverageSupplier- theMovingAverageSupplier
-