30 private readonly
int _period;
32 private readonly
Delay _delayedPrice;
37 public override bool IsReady => _delayedPrice.IsReady && _ema.IsReady;
42 public override int WarmUpPeriod => _period + (int)Math.Floor(((
float)_period) / 2);
54 _delayedPrice =
new Delay((
int)Math.Round((period - 1) / 2.0));
62 : this($
"ZLEMA({period})", period)
72 _delayedPrice.Reset();
84 if (_delayedPrice.Update(input))
86 _ema.Update(input.
Time, input.
Value + (input.
Value - _delayedPrice.Current));
87 return _ema.Current.Value;