dotnetCHARTING Send comments on this topic.
MoneyFlowIdxOverPeriod(String,Series,Int32) Method
See Also 
dotnetCHARTING Namespace > FinancialEngine Class > MoneyFlowIdxOverPeriod Method : MoneyFlowIdxOverPeriod(String,Series,Int32) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
An series where the first element is the high in the last trading period, the second term is the high in the previous period and so on.
lengthOfPeriod
An integer which represents the length of the period over which the indicator will be iteratively evaluated.
Evaluates the Money Flow Index (MFI) which measures the strength of money flowing in and out of a security over all periods for which sufficient data is provided.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function MoneyFlowIdxOverPeriod( _
   ByVal seriesName As String, _
   ByVal s As Series, _
   ByVal lengthOfPeriod As Integer _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim s As Series
Dim lengthOfPeriod As Integer
Dim value As Series
 
value = FinancialEngine.MoneyFlowIdxOverPeriod(seriesName, s, lengthOfPeriod)
C# 
public static Series MoneyFlowIdxOverPeriod( 
   string seriesName,
   Series s,
   int lengthOfPeriod
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
An series where the first element is the high in the last trading period, the second term is the high in the previous period and so on.
lengthOfPeriod
An integer which represents the length of the period over which the indicator will be iteratively evaluated.

Exceptions

ExceptionDescription
ArgumentExceptionThrown if any elements from the arrays high, low, close or volume are strictly negative, or if the length of the arrays is not equal or the lengthOfPeriod is grater than the length of the array high.

Remarks

The MFI is related to the Directional Movement Indicator of Wellas Wilder, but the MFI system also takes into account the volume as well as the price action.

Interpretation

Divergence of the indicator within a continuing trend indicates that a reversal is imminent. The MFI also is a good means to signal market tops and bottoms. A reasonable rule is a market top is given more significance when the MFI is above 80 and a market bottom is given more significance when the MFI is below 20.

Evaluation

The Money Flow Index (MFI) is evaluated over a given user defined number of trading periods. The evaluation of the MFI follows the below steps:

  • Evaluates the Money Flow on each day. The Money Flow is the product of the Typical Value Indicator (see Filters) for that day and the volume.
  • Each day is either classified as either a Positive Money Flow day, Negative Money Flow day or no Flow day. If the typical price increases then the day is a said to be a Positive Money Day, if it decreasing then it is said to be a negative money day and if it stays then same then it is said the be a no flow day.
  • The Positive Money and Negative Money Flow's are calculated by summing the Money Flow over the Positive Money Flow Days or the Negative Money Flow days respectively.
  • The Money Flow Index (MFI) is evaluated by dividing the Positive Money Flow by the Negative Money Flow.
  • See Also

    © 2008 All Rights Reserved.