Class ChaikinOscillator
java.lang.Object
trade.invision.indicators.indicators.Indicator<Num>
trade.invision.indicators.indicators.chaikin.ChaikinOscillator
ChaikinOscillator is a Num Indicator to provide the Chaikin Oscillator (CO) over a
shortEmaLength and longEmaLength 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
ConstructorsModifierConstructorDescriptionprotectedChaikinOscillator(BarSeries barSeries, int shortEmaLength, int longEmaLength, Num smoothing) -
Method Summary
Modifier and TypeMethodDescriptionprotected Numcalculate(long index) Performs the calculation of thisIndicatorat the givenindex.static ChaikinOscillatorchaikinOscillator(BarSeries barSeries, int shortEmaLength, int longEmaLength, Num smoothing) Gets aChaikinOscillator.static ChaikinOscillatorMethods 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
-
ChaikinOscillator
-
-
Method Details
-
co
public static ChaikinOscillator co(BarSeries barSeries, int shortEmaLength, int longEmaLength, Num smoothing) - See Also:
-
chaikinOscillator
public static ChaikinOscillator chaikinOscillator(BarSeries barSeries, int shortEmaLength, int longEmaLength, Num smoothing) Gets aChaikinOscillator.- Parameters:
barSeries- theBarSeriesshortEmaLength- the length of the short EMA (typically 3)longEmaLength- the length of the long EMA (typically 10)smoothing- the smoothing factor for the EMA (typically 2)
-
calculate
Description copied from class:IndicatorPerforms the calculation of thisIndicatorat the givenindex.
-