code: def __init__(self):
      sma = bt.indicators.SMA(self.data, period=self.p.period)
      self.crossover = bt.indicators.CrossOver(self.data, sma)
  
file_path: backtrader/samples/sizertest/sizertest.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import random
  import backtrader
label_desc: Use image node_id 1 to create a new CloseSMA object from inherited base classes: bt with example: obj = CloseSMA()