code: def __init__(self):
      # Flag to allow new orders in the system or not
      self.orderid = None
  
      self.sma = btind.SMA(self.data, period=self.p.period)
      self.cross = btind.CrossOver(self.data.close, self.sma, plot=True)
  
file_path: backtrader/tests/test_strategy_unoptimized.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import time
  import testcommon
  import backtrader
  import backtrader.indicators
label_desc: Use image node_id 3 to create a new TestStrategy object from inherited base classes: bt with example: obj = TestStrategy()