From Surf Wiki (app.surf) — the open knowledge base
Money flow index
Measurement of stock markets
Measurement of stock markets
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
Step 1: Calculate the typical price
The typical price for each day is the average of high price, the low price and the closing price.
: typical\ price = {high + low + close \over 3}
Step 2: Calculate the positive and negative money flow
The money flow for a certain day is typical price multiplied by volume on that day.
: money\ flow = typical\ price \times volume
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
The money ratio is the ratio of positive money flow to negative money flow.
: money\ ratio = { positive\ money\ flow \over negative\ money\ flow }
Step 4: Calculate the money flow index
: MFI = 100 - {100 \over 1 + money\ ratio}
The money flow index can be expressed equivalently as follows.
: MFI = 100 \times { positive\ money\ flow \over positive\ money flow + negative\ money\ flow }
This form more clearly shows what the MFI is a percentage of positive money flow to total money flow.
Uses
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) 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 offer no advantage for trading and it is necessary to optimize settings for each single stock.
Similar indicators
Other price × volume indicators:
- On-balance volume
- Price and volume trend
- Accumulation/distribution index
References
References
- (2020). "Optimization and Testing of Money Flow Index". APLIMAT 2020 - 19th Conference on Applied Mathematics.
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Money flow index — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report