code: def dmi(
      df,
      periods=14,
      high="high",
      low="low",
      close="close",
      include=True,
      str="{name}({period})",
      **kwargs,
  ):
      return adx(
          df,
          periods=periods,
          high=high,
          low=low,
          close=close,
          di=True,
          include=include,
          str=str,
          **kwargs,
      )
  
imports: import pandas
  import numpy
  from plotly.graph_objs import Figure
  from .utils import make_list
label_desc: Use image node_id 8 for calling a global function with example usage: dmi(df, periods, high, low, close, include, str) and returns: adx