code: def __init__(self):
      ma1, ma2 = self.p.ma(period=self.p.p1), self.p.ma(
          period=self.p.p2
      )
      self.crup = bt.ind.CrossUp(ma1, ma2)
      self.order = None
  
file_path: backtrader/samples/stoptrail/trail.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
label_desc: Use image node_id 1 to create a new St object from inherited base classes: bt with example: obj = St()