code: def rma(close, length=None, offset=None, **kwargs):
      """Indicator: wildeR's Moving Average (RMA)"""
      # Validate Arguments
      length = int(length) if length and length > 0 else 10
      alpha = (1.0 / length) if length > 0 else 0.5
      close = verify_series(close, length)
      offset = get_offset(offset)
  
      if close is None:
          return
  
      # Calculate Result
      rma = close.ewm(alpha=alpha, min_periods=length).mean()
  
      # Offset
      if offset != 0:
          rma = rma.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          rma.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          rma.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name & Category
      rma.name = f"RMA_{length}"
      rma.category = "overlap"
  
      return rma
  
label_desc: Use image node_id 1 for calling a global function with example usage: rma(close, length, offset) and returns: rma