code: def money_flow_index(
      high, low, close, volume, window=14, fillna=False
  ):
      """Money Flow Index (MFI)
  
      Uses both price and volume to measure buying and selling pressure. It is
      positive when the typical price rises (buying pressure) and negative when
      the typical price declines (selling pressure). A ratio of positive and
      negative money flow is then plugged into an RSI formula to create an
      oscillator that moves between zero and one hundred.
  
      http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:money_flow_index_mfi
  
      Args:
          high(pandas.Series): dataset 'High' column.
          low(pandas.Series): dataset 'Low' column.
          close(pandas.Series): dataset 'Close' column.
          volume(pandas.Series): dataset 'Volume' column.
          window(int): n period.
          fillna(bool): if True, fill nan values.
  
      Returns:
          pandas.Series: New feature generated.
  
      """
      indicator = MFIIndicator(
          high=high,
          low=low,
          close=close,
          volume=volume,
          window=window,
          fillna=fillna,
      )
      return indicator.money_flow_index()
  
imports: import typing
  import numpy
  import pandas
  from ta.utils import IndicatorMixin, _ema
label_desc: Use image node_id 9 for calling a global function with example usage: money_flow_index(high, low, close, volume, window, fillna) and returns: indicator