code: def pdist(open_, high, low, close, drift=None, offset=None, **kwargs):
      """Indicator: Price Distance (PDIST)"""
      # Validate Arguments
      open_ = verify_series(open_)
      high = verify_series(high)
      low = verify_series(low)
      close = verify_series(close)
      drift = get_drift(drift)
      offset = get_offset(offset)
  
      # Calculate Result
      pdist = 2 * non_zero_range(high, low)
      pdist += non_zero_range(open_, close.shift(drift)).abs()
      pdist -= non_zero_range(close, open_).abs()
  
      # Offset
      if offset != 0:
          pdist = pdist.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          pdist.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          pdist.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name & Category
      pdist.name = "PDIST"
      pdist.category = "volatility"
  
      return pdist
  
label_desc: Use image node_id 1 for calling a global function with example usage: pdist(open_, high, low, close, drift, offset) and returns: pdist