code: def __init__(self):
      wma = self.p._movav(self.data, period=self.params.period)
      wma2 = 2.0 * self.p._movav(
          self.data, period=self.params.period // 2
      )
  
      sqrtperiod = pow(self.params.period, 0.5)
      self.lines.hma = self.p._movav(wma2 - wma, period=int(sqrtperiod))
  
      # Done after calc to ensure coop inheritance and composition work
      super(HullMovingAverage, self).__init__()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from .None import MovingAverageBase, MovAv
label_desc: Use image node_id 1 to create a new HullMovingAverage object from inherited base classes: MovingAverageBase with example: obj = HullMovingAverage()