code: def __init__(self):
      # omitting a data implies self.datas[0] (aka self.data and self.data0)
      fast_ma = bt.ind.EMA(period=self.p.fast_ma)
      slow_ma = bt.ind.EMA(period=self.p.slow_ma)
      # our entry point
      self.crossup = bt.ind.CrossUp(fast_ma, slow_ma)
  
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 BaseStrategy object from inherited base classes: bt with example: obj = BaseStrategy()