Class StreamingIndicators.Ema
java.lang.Object
com.quantfinlib.indicators.StreamingIndicators.Ema
- Enclosing class:
StreamingIndicators
Exponential moving average seeded with the SMA of the first
period values.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Ema
public Ema(int period)
-
-
Method Details
-
update
public double update(double v) -
value
public double value()
-