code: def decreasing(
      close,
      length=None,
      strict=None,
      asint=None,
      percent=None,
      drift=None,
      offset=None,
      **kwargs,
  ):
      """Indicator: Decreasing"""
      # Validate Arguments
      length = int(length) if length and length > 0 else 1
      strict = strict if isinstance(strict, bool) else False
      asint = asint if isinstance(asint, bool) else True
      close = verify_series(close, length)
      drift = get_drift(drift)
      offset = get_offset(offset)
      percent = float(percent) if is_percent(percent) else False
  
      if close is None:
          return
  
      # Calculate Result
      close_ = (1 - 0.01 * percent) * close if percent else close
      if strict:
          # Returns value as float64? Have to cast to bool
          decreasing = close < close_.shift(drift)
          for x in range(3, length + 1):
              decreasing = decreasing & (
                  close.shift(x - (drift + 1)) < close_.shift(x - drift)
              )
  
          decreasing.fillna(0, inplace=True)
          decreasing = decreasing.astype(bool)
      else:
          decreasing = close_.diff(length) < 0
  
      if asint:
          decreasing = decreasing.astype(int)
  
      # Offset
      if offset != 0:
          decreasing = decreasing.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          decreasing.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          decreasing.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name and Categorize it
      _percent = f"_{0.01 * percent}" if percent else ""
      _props = f"{'S' if strict else ''}DEC{'p' if percent else ''}"
      decreasing.name = f"{_props}_{length}{_percent}"
      decreasing.category = "trend"
  
      return decreasing
  
label_desc: Use image node_id 1 for calling a global function with example usage: decreasing(close, length, strict, asint, percent, drift, offset) and returns: decreasing