Money Flow Index Calculation
The Money Flow Index (MFI) is a technical analysis tool used to identify overbought and oversold conditions in financial markets. It combines price and volume data to provide a more comprehensive view of market sentiment than traditional indicators.
What is the Money Flow Index?
The Money Flow Index was developed by Mark Johnson and is based on the concept of money flow, which combines price and volume data. MFI ranges from 0 to 100, with values above 80 indicating overbought conditions and values below 20 indicating oversold conditions.
Key Features:
- Combines price and volume data for more accurate signals
- Ranges from 0 to 100 for easy interpretation
- Typical period is 14 days (can be adjusted)
- Works well with trending markets
How MFI Differs from Other Indicators
Unlike the Relative Strength Index (RSI), which only considers price movements, MFI incorporates volume data. This makes it more sensitive to changes in trading volume, which can provide additional confirmation for potential reversals.
How to Calculate MFI
The Money Flow Index calculation involves several steps. Here's the complete formula:
Money Flow Index Formula:
- Calculate Typical Price for each period: (High + Low + Close)/3
- Calculate Raw Money Flow: Typical Price × Volume
- Determine Money Flow Direction:
- If Typical Price > Previous Typical Price: Positive Money Flow
- If Typical Price < Previous Typical Price: Negative Money Flow
- Calculate Positive and Negative Money Flow over n periods
- Calculate Money Ratio: Positive Money Flow / Negative Money Flow
- Calculate Money Flow Index: 100 - (100 / (1 + Money Ratio))
Step-by-Step Calculation
- Gather historical price and volume data for the desired period
- Calculate the Typical Price for each day using the formula above
- Determine the direction of money flow for each period
- Sum the positive and negative money flows over the selected period (typically 14 days)
- Calculate the Money Ratio and then the Money Flow Index
Note: The standard period for MFI is 14 days, but you can adjust this based on your trading style and market conditions.
Interpreting MFI Results
The Money Flow Index provides valuable insights into market conditions:
| MFI Range | Market Condition | Potential Action |
|---|---|---|
| 80-100 | Overbought | Potential sell signal or caution against new long positions |
| 20-0 | Oversold | Potential buy signal or caution against new short positions |
| 50-80 | Neutral/Overbought | Watch for potential pullbacks or reversals |
| 20-50 | Neutral/Oversold | Watch for potential rallies or reversals |
Combining MFI with Other Indicators
For more reliable signals, traders often combine MFI with other technical indicators:
- RSI: Confirm overbought/oversold conditions
- Moving Averages: Identify trend direction
- Volume: Confirm strength of potential reversals
Worked Example
Let's calculate the Money Flow Index for a simple 3-day period:
| Date | High | Low | Close | Volume |
|---|---|---|---|---|
| Day 1 | 105 | 100 | 102 | 1,000 |
| Day 2 | 108 | 103 | 105 | 1,200 |
| Day 3 | 110 | 104 | 108 | 1,500 |
- Calculate Typical Price:
- Day 1: (105+100+102)/3 = 102.67
- Day 2: (108+103+105)/3 = 105.33
- Day 3: (110+104+108)/3 = 107.33
- Calculate Raw Money Flow:
- Day 1: 102.67 × 1,000 = 102,670
- Day 2: 105.33 × 1,200 = 126,396
- Day 3: 107.33 × 1,500 = 161,000
- Determine Money Flow Direction:
- Day 1: Positive (first day)
- Day 2: Positive (105.33 > 102.67)
- Day 3: Positive (107.33 > 105.33)
- Sum Positive and Negative Money Flow:
- Positive: 102,670 + 126,396 + 161,000 = 390,066
- Negative: 0 (no negative flows in this example)
- Calculate Money Ratio: 390,066 / 0 = ∞ (undefined)
- Calculate Money Flow Index: 100 - (100 / (1 + ∞)) = 100
In this example, the MFI is 100, indicating strong overbought conditions. A trader might consider selling or taking profits if this pattern continues.