Typical Price Formula

The typical price formula calculates the average value of daily high, low, and close prices.

Formula Details

Syntax

Chart.DataManipulator.FinancialFormula(
    FinancialFormula.TypicalPrice,
    "High,Low,Close",
    "TP")

Input Values

This formula takes three input Y values.

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

Output Value

This formula outputs one Y value.

  • TP
    Typical price indicator.

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 values for high low, and close prices respectively (Series1:Y,Series1:Y2,Series1:Y4) and outputs the typical price indicator on Series2 (Series2:Y).

Chart1.DataManipulator.FinancialFormula (FinancialFormula.TypicalPrice, "Series1:Y,Series1:Y2,Series1:Y4", "Series2:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.TypicalPrice, "Series1:Y,Series1:Y2,Series1:Y4", "Series2:Y");

See Also

Reference

Median Price Formula
Weighted Close Formula
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting

Concepts

Applying Formulas

Other Resources

Price Indicators

Build Date:

2012-08-02