code: def __buildSMA(self, period, values, smaMaxLen=None):
      seqDs = dataseries.SequenceDataSeries()
      ret = ma.SMA(seqDs, period, smaMaxLen)
      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 SMATestCase obj's underlying member method code with example usage: obj.__buildSMA(period, values, smaMaxLen) and returns: ret