code: def SMA(array, n):
      """Simple moving average"""
      return pd.Series(array).rolling(n).mean()
  
file_path: backtesting.py/doc/examples/Multiple Time Frames.py
imports: import pandas
  from backtesting import Strategy, Backtest
  from backtesting.lib import resample_apply
  from backtesting.test import GOOG
label_desc: Use image node_id 1 for calling a global function with example usage: SMA(array, n) and returns: pd