code: def __buildWMA(self, weights, values, seqMaxLen=None, wmaMaxLen=None):
      seqDS = dataseries.SequenceDataSeries(maxLen=seqMaxLen)
      ret = ma.WMA(seqDS, weights, wmaMaxLen)
      for value in values:
          seqDS.append(value)
      return ret
  
imports: from six.moves import xrange
  from .None import common
  from pyalgotrade.technical import ma
  from pyalgotrade import dataseries
  from pyalgotrade.barfeed import ninjatraderfeed
  from pyalgotrade import bar
label_desc: Use image node_id 1 for calling the WMATestCase obj's underlying member method code with example usage: obj.__buildWMA(weights, values, seqMaxLen, wmaMaxLen) and returns: ret