code: def runstrategy():
      args = parse_args()
  
      # Create a cerebro
      cerebro = bt.Cerebro()
  
      # Get the dates from the args
      fromdate = datetime.datetime.strptime(args.fromdate, "%Y-%m-%d")
      todate = datetime.datetime.strptime(args.todate, "%Y-%m-%d")
  
      # Create the 1st data
      data = btfeeds.BacktraderCSVData(
          dataname=args.data, fromdate=fromdate, todate=todate
      )
  
      # Add the 1st data to cerebro
      cerebro.adddata(data)
  
      # Add the strategy
      cerebro.addstrategy(
          PlotStrategy,
          smasubplot=args.smasubplot,
          nomacdplot=args.nomacdplot,
          rsioverstoc=args.rsioverstoc,
          rsioversma=args.rsioversma,
          stocrsi=args.stocrsi,
          stocrsilabels=args.stocrsilabels,
      )
  
      # And run it
      cerebro.run(stdstats=args.stdstats)
  
      # Plot
      cerebro.plot(numfigs=args.numfigs, volume=False)
  
file_path: backtrader/samples/plot-same-axis/plot-same-axis.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import backtrader
  import backtrader.feeds
  import backtrader.indicators
label_desc: Use image node_id 1 for calling a global function with example usage: runstrategy() without return types