### Question:
HullMovingAverage extends SingleValueIndicator { @Override public double getValue() { return sqrtWma.getValue(); } HullMovingAverage(TimeInterval interval);  HullMovingAverage(int length, TimeInterval interval);  HullMovingAverage(int length, TimeInterval interval, ToDoubleFunction<Candle> valueGetter); @Override double getValue();  }### Answer:
@Test public void hma() { int i = 0; HullMovingAverage indicator = new HullMovingAverage(9, TimeInterval.MINUTE); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(86.3204, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(85.3705, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(84.1044, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(83.0197, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(81.3913, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(79.6511, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(78.0443, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(76.8832, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(75.5363, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(75.1713, indicator.getValue(), 0.0001); indicator.accumulate(CandleHelper.newCandle(i, values[i++])); assertEquals(75.3597, indicator.getValue(), 0.0001); }