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
Parameters
- 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
Exception |
Description |
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. |
Remarks
See Also