The median price formula calculates the average value of daily high and low prices.
.gif)
Formula Details
Syntax
Chart.DataManipulator.FinancialFormula(
    FinancialFormula.MedianPrice,
    "High,Low",
    "MP")
Input Values
This formula takes two input Y values.
- High
Daily high price. 
- Low
Daily low price. 
Output Value
This formula outputs one Y value.
- MP
Median 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) and outputs the median price indicator on Series2 (Series2:Y).
Chart1.DataManipulator.FinancialFormula (FinancialFormula.MedianPrice, "Series1:Y,Series1:Y2", "Series2:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.MedianPrice, "Series1:Y,Series1:Y2", "Series2:Y");
See Also
Reference
Median Price Formula
Weighted Close Formula
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting