code: def __init__(self, feed, instrument):
      super(MyStrategy, self).__init__(feed)
      self.__rsi = rsi.RSI(feed[instrument].getCloseDataSeries(), 14)
      self.__sma = ma.SMA(self.__rsi, 15)
      self.__instrument = instrument
  
file_path: pyalgotrade/samples/tutorial-3.py
imports: from pyalgotrade import strategy
  from pyalgotrade.barfeed import quandlfeed
  from pyalgotrade.technical import ma
  from pyalgotrade.technical import rsi
label_desc: Use image node_id 1 to create a new MyStrategy object from inherited base classes: strategy with example: obj = MyStrategy(feed, instrument)