Skip to main content

Money Flow Index (MFI) in the Trade Rule Block

The Money Flow Index is a volume-weighted RSI that identifies overbought and oversold conditions.

Purpose of the Money Flow Index

The Money Flow Index (MFI) measures the strength of money flowing into and out of a symbol. It works like the RSI but includes volume, moving between 0 and 100. Values above 80 are usually read as overbought and values below 20 as oversold.

How It Works

When you select Money Flow Index (MFI) in the Trade Rule block, you can configure it with the following settings:

Period of MFI

  • The number of candles used for the calculation (standard: 14).

Time Frame of MFI

  • Sets the chart time frame for the MFI calculation.

  • Can be replaced with a variable or input for quick testing and optimization.

Candle ID of MFI

  • Defines which candle the calculation starts from.

  • 0: Current candle (still forming).

  • 1: Most recently closed candle.

  • Higher IDs refer to older candles.

Volume Type

  • Choose between tick volume or trade volume

Adjust of MFI (Modify the Result)

  • Apply an adjustment to the calculated value by adding, subtracting, multiplying, or dividing by a number.

Example

If you set:

  • Period: 14

  • Candle ID: 1

You get the MFI value of the most recently closed candle, between 0 and 100.

Money Flow Index (MFI) settings in the Profectus Trade Rule block

Use Cases

  • Detect overbought conditions above 80.

  • Detect oversold conditions below 20.

  • Spot divergence between price and money flow.

⚠ Tip: Because the MFI includes volume, it can confirm whether a move has real participation. Combine it with a trend filter in trending markets.

Did this answer your question?