Skip to main content

MFI

Type: mfi • Category: indicators

Description

Money Flow Index

Parameters

NameTypeDescriptionRequiredDefault
highstringList of highest pricesno
lowstringList of lowest pricesno
closestringList of closing pricesno
volumestringList of volumesno
timeperiodnumberno14

Help

MFI (Money Flow Index)

Description

The Money Flow Index (MFI) is a technical indicator used in financial markets to measure the flow of money into or out of a security. It is calculated based on the price and volume of the security over a specified period.

What does this worker do?

This worker calculates the Money Flow Index (MFI) for a given set of financial data, including high, low, close prices, and volume. The MFI is used to identify potential buying or selling opportunities by analyzing the flow of money into or out of a security.

How to interpret the results

The MFI is typically interpreted as follows:

  • MFI values above 80 indicate overbought conditions, which may lead to a price decline.
  • MFI values below 20 indicate oversold conditions, which may lead to a price increase.
  • MFI values between 20 and 80 indicate a neutral market condition.

Parameters

The following parameters are required to calculate the MFI:

Parameters Schema (JSON)

{
"high": {
"type": "string",
"description": "List of highest prices"
},
"low": {
"type": "string",
"description": "List of lowest prices"
},
"close": {
"type": "string",
"description": "List of closing prices"
},
"volume": {
"type": "string",
"description": "List of volumes"
},
"timeperiod": {
"type": "number",
"default": 14
}
}

Parameters List

  • high: string - List of highest prices.
  • low: string - List of lowest prices.
  • close: string - List of closing prices.
  • volume: string - List of volumes.
  • timeperiod: number (default: 14) - The number of periods to use for the calculation.

Note that the input parameters should be provided as strings of comma-separated values, e.g., "10.5, 20.2, 30.1" for the high, low, close, and volume parameters. The timeperiod parameter should be provided as a numeric value.