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 typical price for each day is the average of high price, the low price and the closing price.
typical price={high+low+close\over3}
The money flow for a certain day is typical price multiplied by volume on that day.
money flow=typical price x volume
The money flow is divided into positive and negative money flow.
The money ratio is the ratio of positive money flow to negative money flow.
money ratio={positive money flow\overnegative money flow}
MFI=100-{100\over1+money ratio}
The money flow index can be expressed equivalently as follows.
MFI=100 x {positive money flow\overpositive moneyflow+negative money flow}
This form more clearly shows what the MFI is a percentage of positive money flow to total money flow.
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.
Other price × volume indicators: