MFI
Type:
mfi• Category:indicators
Description
Money Flow Index
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
dataExp | string | prices data | no | |
high | string | select the column with highest prices | no | |
low | string | select the column with lowest prices | no | |
close | string | select the column with closing prices | no | |
volume | string | select the column with volume | no | |
timeperiod | number | Number of periods to use for MFI calculation | no | 14 |
Help
Money Flow Index (MFI)
Description
The Money Flow Index (MFI) is a momentum indicator used in financial analysis to measure the inflow and outflow of money into a security over a given period of time. It is calculated by taking into account the price and volume of the security.
What does this worker do?
This worker calculates the Money Flow Index (MFI) for a given set of price and volume data. It takes the following parameters:
dataExp: prices datahigh: select the column with highest priceslow: select the column with lowest pricesclose: select the column with closing pricesvolume: select the column with volumetimeperiod: Number of periods to use for MFI calculation
How to use it
To use this worker, simply provide the required parameters and it will calculate the MFI for you. You can use the following example as a guide:
Example usage
| high | low | close | volume |
|-------|------|--------|---------|
| 10 | 8 | 9 | 100 |
| 12 | 9 | 11 | 200 |
| 15 | 12 | 14 | 300 |
How to interpret the results
The MFI is a range-bound indicator that oscillates between 0 and 100. A high MFI value (above 80) indicates that the security is experiencing high buying pressure, while a low MFI value (below 20) indicates that the security is experiencing high selling pressure.
- Overbought: MFI > 80, the security is considered overbought and may be due for a price correction.
- Oversold: MFI < 20, the security is considered oversold and may be due for a price rebound.
Additional knowledge
The MFI was developed by J. Welles Wilder Jr. and is also known as the Volume-Weighted RSI. It is often used in conjunction with other technical indicators to confirm trading signals.
Visualizing the MFI
For a better understanding of how to use the MFI, you can refer to the following GIFs:
Full GIF
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_full.gif)
Short GIF
[](https://pub-6c7cc7f707d94ca98153d59a039b9a3d.r2.dev/indicator_short.gif)