code: def pvt(close, volume, drift=None, offset=None, **kwargs):
      """Indicator: Price-Volume Trend (PVT)"""
      # Validate arguments
      close = verify_series(close)
      volume = verify_series(volume)
      drift = get_drift(drift)
      offset = get_offset(offset)
  
      # Calculate Result
      pv = roc(close=close, length=drift) * volume
      pvt = pv.cumsum()
  
      # Offset
      if offset != 0:
          pvt = pvt.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          pvt.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          pvt.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name and Categorize it
      pvt.name = f"PVT"
      pvt.category = "volume"
  
      return pvt
  
label_desc: Use image node_id 1 for calling a global function with example usage: pvt(close, volume, drift, offset) and returns: pvt