code: def __init__(self):
      # To control operation entries
      self.orderid = list()
      self.order = None
  
      self.counttostop = 0
      self.datastatus = 0
  
      # Create SMA on 2nd data
      self.sma = bt.indicators.MovAv.SMA(
          self.data, period=self.p.smaperiod
      )
  
      print("--------------------------------------------------")
      print("Strategy Created")
      print("--------------------------------------------------")
  
file_path: backtrader/samples/vctest/vctest.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  from backtrader.utils import flushfile
  from backtrader.utils.py3 import string_types
label_desc: Use image node_id 1 to create a new TestStrategy object from inherited base classes: bt with example: obj = TestStrategy()