code: def eom(
      high,
      low,
      close,
      volume,
      length=None,
      divisor=None,
      drift=None,
      offset=None,
      **kwargs,
  ):
      """Indicator: Ease of Movement (EOM)"""
      # Validate arguments
      length = int(length) if length and length > 0 else 14
      divisor = divisor if divisor and divisor > 0 else 100000000
      high = verify_series(high, length)
      low = verify_series(low, length)
      close = verify_series(close, length)
      volume = verify_series(volume, length)
      drift = get_drift(drift)
      offset = get_offset(offset)
  
      if high is None or low is None or close is None or volume is None:
          return
  
      # Calculate Result
      high_low_range = non_zero_range(high, low)
      distance = hl2(high=high, low=low)
      distance -= hl2(high=high.shift(drift), low=low.shift(drift))
      box_ratio = volume / divisor
      box_ratio /= high_low_range
      eom = distance / box_ratio
      eom = sma(eom, length=length)
  
      # Offset
      if offset != 0:
          eom = eom.shift(offset)
  
      # Handle fills
      if "fillna" in kwargs:
          eom.fillna(kwargs["fillna"], inplace=True)
      if "fill_method" in kwargs:
          eom.fillna(method=kwargs["fill_method"], inplace=True)
  
      # Name and Categorize it
      eom.name = f"EOM_{length}_{divisor}"
      eom.category = "volume"
  
      return eom
  
label_desc: Use image node_id 1 for calling a global function with example usage: eom(high, low, close, volume, length, divisor, drift, offset) and returns: eom