38 if (period < 2)
throw new ArgumentException(
"The Hull Moving Average period should be greater or equal to 2", nameof(period));
41 var k = (int)Math.Round(Math.Sqrt(period));
50 : this($
"HMA({period})", period)
68 public override bool IsReady => _hullMa.IsReady;
84 _fastWma.Update(input);
85 _slowWma.Update(input);
86 if (_fastWma.IsReady && _slowWma.IsReady)
90 return _hullMa.Current.Value;