Compartilhar via


Money Flow Formula (Chart Controls)

The money flow formula compares upward changes and downward changes of volume-weighted typical prices. It can be used to identify market tops and bottoms.

Sample plot of the money flow index

Formula Details

Syntax

Chart.DataManipulator.FinancialFormula(
    FinancialFormula.MoneyFlow,
    "Period",
    "High,Low,Close,Volume",
    "MF")

Parameters

This formula takes one required parameter.

  • Period
    Period for calculating the money flow index.

Input Values

This formula takes four input Y values.

  • High
    Daily high price.
  • Low
    Daily low price.
  • Close
    Daily close price.
  • Volume
    Daily volume.

Output Value

This formula outputs one Y value.

  • MF
    Money flow index.

Remarks

The Line chart type is a convenient chart type to display the formula output.

Example

The following example takes input from Series1's Y value for the high, low, and close prices, respectively, (Series1:Y,Series1:Y2,Series1:Y4), and Series2's Y value for volume (Series2:Y), and outputs the money flow index on Series3 (Series3:Y). It uses a period of 20 days.

Chart1.DataManipulator.FinancialFormula (FinancialFormula.MoneyFlow, "20", "Series1:Y,Series1:Y2,Series1:Y4,Series2:Y", "Series3:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.MoneyFlow, "20", "Series1:Y,Series1:Y2,Series1:Y4,Series2:Y", "Series3:Y");

See Also

Reference

System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting

Concepts

Financial Formulas
Applying Formulas