code: def __init__(self):
      ma1 = self.p.ma(self.data0, period=self.p.pd1, subplot=True)
      self.p.ma(self.data1, period=self.p.pd2, plotmaster=ma1)
      PearsonR(self.data0, self.data1)
  
file_path: backtrader/samples/gold-vs-sp500/gold-vs-sp500.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import scipy.stats
  import backtrader
label_desc: Use image node_id 1 to create a new MACrossOver object from inherited base classes: bt with example: obj = MACrossOver()