code: def donew(cls, *args, **kwargs):
      _obj, args, kwargs = super(MetaDataTrades, cls).donew(
          *args, **kwargs
      )
  
      # Recreate the lines dynamically
      if _obj.params.usenames:
          lnames = tuple(x._name for x in _obj.datas)
      else:
          lnames = tuple(
              "data{}".format(x) for x in range(len(_obj.datas))
          )
  
      # Generate a new lines class
      linescls = cls.lines._derive(uuid.uuid4().hex, lnames, 0, ())
  
      # Instantiate lines
      _obj.lines = linescls()
  
      # Generate plotlines info
      markers = [
          "o",
          "v",
          "^",
          "<",
          ">",
          "1",
          "2",
          "3",
          "4",
          "8",
          "s",
          "p",
          "*",
          "h",
          "H",
          "+",
          "x",
          "D",
          "d",
      ]
  
      colors = [
          "b",
          "g",
          "r",
          "c",
          "m",
          "y",
          "k",
          "b",
          "g",
          "r",
          "c",
          "m",
          "y",
          "k",
          "b",
          "g",
          "r",
          "c",
          "m",
      ]
  
      basedict = dict(ls="", markersize=8.0, fillstyle="full")
  
      plines = dict()
      for lname, marker, color in zip(lnames, markers, colors):
          plines[lname] = d = basedict.copy()
          d.update(marker=marker, color=color)
  
      plotlines = cls.plotlines._derive(
          uuid.uuid4().hex, plines, [], recurse=True
      )
      _obj.plotlines = plotlines()
  
      return _obj, args, kwargs
  
file_path: backtrader/backtrader/observers/trades.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import uuid
  from ..None import Observer
  from ..utils.py3 import with_metaclass
  from ..trade import Trade
label_desc: Use image node_id 1 for calling the MetaDataTrades obj's underlying member method code with example usage: obj.donew(cls) and returns: _obj,  args,  kwargs