code: def __init__(self):
      # Add indicators to add load
  
      btind.SMA(period=self.p.smaperiod)
      btind.MACD(
          period_me1=self.p.macdperiod1,
          period_me2=self.p.macdperiod2,
          period_signal=self.p.macdperiod3,
      )
  
file_path: backtrader/samples/optimization/optimization.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import argparse
  import datetime
  import time
  from backtrader.utils.py3 import range
  import backtrader
  import backtrader.indicators
  import backtrader.feeds
label_desc: Use image node_id 1 to create a new OptimizeStrategy object from inherited base classes: bt with example: obj = OptimizeStrategy()