docstr: Intercept the strategy parameter
docstr_tok: ["Intercept","the","strategy","parameter"]
code: def donew(cls, *args, **kwargs):
      """
      Intercept the strategy parameter
      """
      # Create the object and set the params in place
      _obj, args, kwargs = super(MetaAnalyzer, cls).donew(
          *args, **kwargs
      )
  
      _obj._children = list()
  
      _obj.strategy = strategy = bt.metabase.findowner(
          _obj, bt.Strategy
      )
      _obj._parent = bt.metabase.findowner(_obj, Analyzer)
  
      # Register with a master observer if created inside one
      masterobs = bt.metabase.findowner(_obj, bt.Observer)
      if masterobs is not None:
          masterobs._register_analyzer(_obj)
  
      _obj.datas = strategy.datas
  
      # For each data add aliases: for first data: data and data0
      if _obj.datas:
          _obj.data = data = _obj.datas[0]
  
          for l, line in enumerate(data.lines):
              linealias = data._getlinealias(l)
              if linealias:
                  setattr(_obj, "data_%s" % linealias, line)
              setattr(_obj, "data_%d" % l, line)
  
          for d, data in enumerate(_obj.datas):
              setattr(_obj, "data%d" % d, data)
  
              for l, line in enumerate(data.lines):
                  linealias = data._getlinealias(l)
                  if linealias:
                      setattr(_obj, "data%d_%s" % (d, linealias), line)
                  setattr(_obj, "data%d_%d" % (d, l), line)
  
      _obj.create_analysis()
  
      # Return to the normal chain
      return _obj, args, kwargs
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import calendar
  from collections import OrderedDict
  import datetime
  import pprint
  import backtrader
  from backtrader import TimeFrame
  from backtrader.utils.py3 import MAXINT, with_metaclass
label_desc: Use image node_id 1 for calling the MetaAnalyzer obj's underlying member method code with example usage: obj.donew(cls) and returns: _obj,  args,  kwargs