Class MmaRTIndicator
java.lang.Object
com.wualabs.qtsurfer.engine.indicators.core.AbstractRTIndicator
com.wualabs.qtsurfer.engine.indicators.core.AbstractIncrementalRTIndicator
com.wualabs.qtsurfer.engine.indicators.core.AbstractDecorableIncrementalRTIndicator
com.wualabs.qtsurfer.engine.indicators.core.AbstractEmaRTIndicator
com.wualabs.qtsurfer.engine.indicators.averages.MmaRTIndicator
- All Implemented Interfaces:
ClockAware, Resettable, CacheableRTIndicator, RTIndicator
- Direct Known Subclasses:
SmmaRTIndicator
Modified moving average RT Indicator
-
Constructor Summary
ConstructorsConstructorDescriptionMmaRTIndicator(int periods) MmaRTIndicator(int periods, RTIndicator indicator) -
Method Summary
Methods inherited from class AbstractEmaRTIndicator
nextValueMethods inherited from class AbstractDecorableIncrementalRTIndicator
getIndicator, reset, setClockSupplier, updateMethods inherited from class AbstractIncrementalRTIndicator
getLastUpdateValue, getPeriodCycles, getPeriods, getPrevValue, initValue, isPeriodic, isReady, prevNextValue, setPeriods, tickValueMethods inherited from class AbstractRTIndicator
equals, getDisplayHint, getMeta, getValue, hashCode, hide, isPoison, setValue, toString, toString, withDisplayHint, withMetaMethods inherited from interface Resettable
reset
-
Constructor Details
-
MmaRTIndicator
public MmaRTIndicator(int periods) -
MmaRTIndicator
-
-
Method Details
-
signature
Periods and source chain — the smoothing factor is1 / periods(goal sweep-research-engine E6).- Specified by:
signaturein interfaceCacheableRTIndicator- Returns:
- the identity, or
nullwhen this instance cannot state one (an unidentifiable source, a mode the implementation does not model) and must therefore compute live
-