Money Flow Index (MFI)

Created by Quong and Soudack, the Money Flow Index is a price-volume oscillator that shows buying and selling momentum. [Discuss] 💬

chart for Money Flow Index (MFI)

// C# usage syntax
IEnumerable<MfiResult> results =
  quotes.GetMfi(lookbackPeriods);

Parameters

lookbackPeriods int - Number of periods (N) in the lookback period. Must be greater than 1. Default is 14.

Historical quotes requirements

You must have at least N+1 historical quotes to cover the warmup periods.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

Response

IEnumerable<MfiResult>

MfiResult

Date DateTime - Date from evaluated TQuote

Mfi decimal - Money Flow Index

Utilities

See Utilities and helpers for more information.

Chaining

Results can be further processed on Mfi with additional chain-enabled indicators.

// example
var results = quotes
    .GetMfi(..)
    .GetRsi(..);

This indicator must be generated from quotes and cannot be generated from results of another chain-enabled indicator or method.