code: def wcp(high, low, close, talib=None, offset=None, **kwargs):
      """Indicator: Weighted Closing Price (WCP)"""
      # Validate Arguments
      high = verify_series(high)
      low = verify_series(low)
      close = verify_series(close)
      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 WCLPRICE
  
          wcp = WCLPRICE(high, low, close)
      else:
          wcp = (high + low + 2 * close) / 4
  
      # Offset
      if offset != 0:
          wcp = wcp.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          wcp.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          wcp.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name & Category
      wcp.name = "WCP"
      wcp.category = "overlap"
  
      return wcp
  
label_desc: Use image node_id 1 for calling a global function with example usage: wcp(high, low, close, talib, offset) and returns: wcp