Money Flow Index (MFI)


Namespace: OpenQuant.API.Indicators
Assembly: OpenQuant.API (in OpenQuant.API.dll)

Syntax

Visual Basic (Declaration)
Public Class MFI
    Inherits Indicator
C#
public class MFI : Indicator
C++
ref class MFI : Indicator
J#
public class MFI extends Indicator
JScript
public class MFI extends Indicator

Remarks

The Money Flow Index is a momentum indicator used to measure the strength of money flowing in and out of an asset. The MFI is closely linked to the Relative Strength Index (RSI), though the MFI additionally accounts for volume action, whereas the RSI includes price action only.

First of all, the money flow (but not the Money Flow Index) is calculated. The average price for the day is determined and then compared with the average price of the previous day. If today?s money flow is larger, a positive money flow is assumed; if it is smaller, a negative money flow is assumed, i.e. a money outflow. The money flow for a specific day is then calculated by multiplying the average price by the volume. Finally the Positive Money Flow is calculated as a sum of the money inflows over a specified number of time periods. The Negative Money Flow is calculated as the sum of money outflows over a specified number of time periods. After this, the Money Flow Index is calculated with the equivalent formula of the RSI.

The Money Flow Index is not currently applicable for Intraday charts and will never be applicable for Tick charts, due to the nature of the data.

This indicator is described in more details in the Steve Achelis' book "Technical Analysis from A to Z".

Formula:

Inheritance Hierarchy

System.Object
   OpenQuant.API.Indicator
      OpenQuant.API.Indicators.MFI

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also