code: def testTrendWithCustomThresholds_Bounded(self):
      trend = self.__buildTrend([1, 2, 3, 5, -10], 3, 1, -1, 2)
      self.assertEqual(trend[0], True)
      self.assertEqual(trend[1], False)
      self.assertEqual(len(trend), 2)
  
file_path: pyalgotrade/testcases/technical_trend_test.py
imports: from .None import common
  from pyalgotrade.technical import linreg
  from pyalgotrade import dataseries
label_desc: Use image node_id 4 for calling the TrendTest obj's underlying member method code with example usage: obj.testTrendWithCustomThresholds_Bounded() without return types