|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|
- The name of the series which will be displayed on the chart, i.e. its label.
- 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.
- An integer which represents the length of the period over which the indicator will be iteratively evaluated.
|ArgumentException||Thrown 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.|
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
The Money Flow Index (MFI) is evaluated over a given user defined
number of trading periods. The evaluation of the MFI follows the