code: def obv(close, volume, talib=None, offset=None, **kwargs):
      """Indicator: On Balance Volume (OBV)"""
      # Validate arguments
      close = verify_series(close)
      volume = verify_series(volume)
      offset = get_offset(offset)
      mode_tal = bool(talib) if isinstance(talib, bool) else True
  
      # Calculate Result
      if Imports["talib"] and mode_tal:
          from talib import OBV
  
          obv = OBV(close, volume)
      else:
          signed_volume = signed_series(close, initial=1) * volume
          obv = signed_volume.cumsum()
  
      # Offset
      if offset != 0:
          obv = obv.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          obv.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          obv.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name and Categorize it
      obv.name = f"OBV"
      obv.category = "volume"
  
      return obv
  
label_desc: Use image node_id 1 for calling a global function with example usage: obv(close, volume, talib, offset) and returns: obv