Money flow index
The money flow index (MFI) is an oscillator that ranges from 0 to 100. It is used to show the money flow (an approximation of the dollar value of a day's trading) over several days.
The steps to calculate the money flow index over N days
[edit]Step 1: Calculate the typical price
[edit]The typical price for each day is the average of high price, the low price and the closing price.
Step 2: Calculate the positive and negative money flow
[edit]The money flow for a certain day is typical price multiplied by volume on that day.
The money flow is divided into positive and negative money flow.
- Positive money flow is calculated by adding the money flow of all the days where the typical price is higher than the previous day's typical price.
- Negative money flow is calculated by adding the money flow of all the days where the typical price is lower than the previous day's typical price.
- If typical price is unchanged then that day is discarded.
Step 3: Calculate the money ratio
[edit]The money ratio is the ratio of positive money flow to negative money flow.
Step 4: Calculate the money flow index
[edit]The money flow index can be expressed equivalently as follows.
This form more clearly shows what the MFI is a percentage of positive money flow to total money flow.
Uses
[edit]MFI is used to measure the "enthusiasm" of the market. In other words, the money flow index shows how much a stock was traded.
A value of 80 or more is generally considered overbought, a value of 20 or less oversold. Divergences between MFI and price action are also considered significant; for instance, if price makes a new rally high but the MFI high is less than its previous high then that may indicate a weak advance that is likely to reverse.
MFI is constructed in a similar fashion to the relative strength index (RSI). Both look at up days against total up and down days, but the scale, i.e. what is accumulated on those days, is volume (or dollar volume approximation rather) for the MFI, as opposed to price change amounts for the RSI.
Marek and Čadková (2020)[1] studied different settings of MFI parameters. The testing was randomised in time and companies (e.g., Apple, ExxonMobil, IBM, Microsoft) and showed that MFI can beat simple buy-and-hold strategy; therefore, it can be useful for trading. They showed that settings of MFI which are usually recommended in the literature offers no advantage for trading and it is necessary to optimize settings for each single stock.
Similar indicators
[edit]Other price × volume indicators:
References
[edit]- ^ Marek, Patrice; Čadková, Věra (2020). "Optimization and Testing of Money Flow Index". APLIMAT 2020 - 19th Conference on Applied Mathematics.