code: def testHT_TRENDLINE(self):
      ds = self.__loadMedPriceDS()
      self.assertAmountsAreEqual(
          indicator.HT_TRENDLINE(ds, 252)[63], 88.257
      )
      self.assertAmountsAreEqual(
          indicator.HT_TRENDLINE(ds, 252)[-3], 109.69
      )
      self.assertAmountsAreEqual(
          indicator.HT_TRENDLINE(ds, 252)[-2], 110.18
      )
      self.assertAmountsAreEqual(
          indicator.HT_TRENDLINE(ds, 252)[-1], 110.46
      )
  
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 24 for calling the TestCase obj's underlying member method code with example usage: obj.testHT_TRENDLINE() without return types