Class ByEmaSimple
java.lang.Object
com.illumon.numerics.movingaverages.ByEma
com.illumon.numerics.movingaverages.ByEmaSimple
- All Implemented Interfaces:
Serializable
public class ByEmaSimple extends ByEma
A DB aware EMA which can compute "by" emas without grouping and then ungrouping.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from class com.illumon.numerics.movingaverages.ByEma
ByEma.BadDataBehavior, ByEma.Key
-
Constructor Summary
Constructors Constructor Description ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit)
ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Type type, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit)
-
Method Summary
Modifier and Type Method Description protected AbstractMa
createEma(ByEma.Key key)
-
Constructor Details
-
ByEmaSimple
public ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit) -
ByEmaSimple
public ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Type type, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit)
-
-
Method Details