code: def next(self):
      print("Strategy:", len(self))
  
      txt = list()
      txt.append("Data0")
      txt.append("%04d" % len(self.data0))
      dtfmt = "%Y-%m-%dT%H:%M:%S.%f"
      txt.append("{:f}".format(self.data.datetime[0]))
      txt.append("%s" % self.data.datetime.datetime(0).strftime(dtfmt))
      # txt.append('{:f}'.format(self.data.open[0]))
      # txt.append('{:f}'.format(self.data.high[0]))
      # txt.append('{:f}'.format(self.data.low[0]))
      txt.append("{:f}".format(self.data.close[0]))
      # txt.append('{:6d}'.format(int(self.data.volume[0])))
      # txt.append('{:d}'.format(int(self.data.openinterest[0])))
      # txt.append('{:f}'.format(self.sma_small[0]))
      print(", ".join(txt))
  
      if len(self.datas) > 1 and len(self.data1):
          txt = list()
          txt.append("Data1")
          txt.append("%04d" % len(self.data1))
          dtfmt = "%Y-%m-%dT%H:%M:%S.%f"
          txt.append("{:f}".format(self.data1.datetime[0]))
          txt.append(
              "%s" % self.data1.datetime.datetime(0).strftime(dtfmt)
          )
          # txt.append('{}'.format(self.data1.open[0]))
          # txt.append('{}'.format(self.data1.high[0]))
          # txt.append('{}'.format(self.data1.low[0]))
          txt.append("{}".format(self.data1.close[0]))
          # txt.append('{}'.format(self.data1.volume[0]))
          # txt.append('{}'.format(self.data1.openinterest[0]))
          # txt.append('{}'.format(float('NaN')))
          print(", ".join(txt))
  
file_path: backtrader/samples/data-multitimeframe/data-multitimeframe.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
  from backtrader import ResamplerDaily, ResamplerWeekly, ResamplerMonthly
  from backtrader import ReplayerDaily, ReplayerWeekly, ReplayerMonthly
  from backtrader.utils import flushfile
label_desc: Use image node_id 4 for calling the SMAStrategy obj's underlying member method code with example usage: obj.next() without return types