code: def onNewValue(self, dateTime, value):
      super(EMAEventWindow, self).onNewValue(dateTime, value)
  
      # Formula from http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:moving_averages
      if value is not None and self.windowFull():
          if self.__value is None:
              self.__value = self.getValues().mean()
          else:
              self.__value = (
                  value - self.__value
              ) * self.__multiplier + self.__value
  
imports: import numpy
  from pyalgotrade import technical
label_desc: Use image node_id 2 for calling the EMAEventWindow obj's underlying member method code with example usage: obj.onNewValue(dateTime, value) without return types