code: def testTRIX(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.TRIX(barDs.getCloseDataSeries(), 252, 5)[13], 0.2589
      )
      self.assertAmountsAreEqual(
          indicator.TRIX(barDs.getCloseDataSeries(), 252, 5)[14],
          0.010495,
      )
      self.assertAmountsAreEqual(
          indicator.TRIX(barDs.getCloseDataSeries(), 252, 5)[-2], -0.058
      )
      self.assertAmountsAreEqual(
          indicator.TRIX(barDs.getCloseDataSeries(), 252, 5)[-1], -0.095
      )
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 53 for calling the TestCase obj's underlying member method code with example usage: obj.testTRIX() without return types