code: def __init__(self):
      self.lines.signal = self.data - bt.indicators.SMA(
          period=self.p.period
      )
  
file_path: backtrader/samples/signals-strategy/signals-strategy.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import collections
  import datetime
  import backtrader
label_desc: Use image node_id 1 to create a new SMACloseSignal object from inherited base classes: bt with example: obj = SMACloseSignal()