public class ByEmaSimple extends ByEma
A DB aware EMA which can compute "by" emas without grouping and then ungrouping.
ByEma.BadDataBehavior, ByEma.Key
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
protected AbstractMa |
createEma(ByEma.Key key) |
public ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit)
public ByEmaSimple(ByEma.BadDataBehavior nullBehavior, ByEma.BadDataBehavior nanBehavior, AbstractMa.Type type, AbstractMa.Mode mode, double timescale, TimeUnit timeUnit)
protected AbstractMa createEma(ByEma.Key key)