code: def __init__(self):
      sma = btind.SMA(self.data, period=self.p.period)
      # > 0 crossing up / < 0 crossing down
      self.buysell_sig = btind.CrossOver(self.data, sma)
  
file_path: backtrader/samples/commission-schemes/commission-schemes.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
label_desc: Use image node_id 4 to create a new SMACrossOver object from inherited base classes: bt with example: obj = SMACrossOver()