Money Flow Index
The Money Flow Index (MFI) is very similar to the Relative Strength Index (RSI) in that it measures the strength of money flowing in and out of a security. The only difference is that MFI incorporates volume action so it can be seen as a volume-weighted RSI. MFI uses price and volume for identifying overbought or oversold conditions in an asset. Divergence is a key tool for interpreting the indicator.
100 * SUM(IIF(H + L + C > H1 + L1 + C1, (H + L + C) * V, 0), x) / SUM((H + L + C) * V, x) |
x =Period |
Where x
is the period which must be an integer.
Examples
A formula for a 20 period Money Flow Index can be written as follows.
100 * SUM(IIF(H + L + C > H1 + L1 + C1, (H + L + C) * V, 0), 20) / SUM((H + L + C) * V, 20)
Read more about Money Flow Index (MFI) at Investopedia