Accumulation Distribution Formula (Chart Controls)

The accumulation distribution formula calculates a cumulative total of prices and volumes.

An increase in the accumulation distribution index indicates a probable price increase. A decrease in the accumulation distribution index indicates a probable price decrease.

Sample plot of the accumulation distribution

Formula Details

Syntax

Chart.DataManipulator.FinancialFormula(
    FinancialFormula.MassIndex,
    "High,Low,Close,Volume",
    "AD")

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.

  • AD
    Accumulation distribution 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, and outputs the accumulation distribution index on Series3 (Series3:Y).

Chart1.DataManipulator.FinancialFormula (FinancialFormula.AccumulationDistribution, "Series1:Y,Series1:Y2,Series1:Y4,Series2:Y", "Series3:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.AccumulationDistribution, "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