code: def __init__(self):
      self.ma1 = self.p._movav(self.data, period=self.p.period1)
      self.ma2 = self.p._movav(self.data, period=self.p.period2)
      self.lines[0] = self.ma1 - self.ma2
  
      super(_PriceOscBase, self).__init__()
  
file_path: backtrader/backtrader/indicators/priceoscillator.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from .None import Indicator, Max, MovAv
label_desc: Use image node_id 1 to create a new _PriceOscBase object from inherited base classes: Indicator with example: obj = _PriceOscBase()