Performance Formula
The performance formula calculates the rate of price change compared with historical data. It differs from the Rate of Change Formula in that it calculates rate of change against the first available data. The output is a percentage.
This formula can also be used to calculate the rate of volume change.
Formula Details
Syntax
Chart.DataManipulator.FinancialFormula(
FinancialFormula.Performance,
"Price",
"Performance")
Input Values
This formula takes one input Y value.
- Price
Price for which the performance indicator is calculated. It can be any other data for which you wish to calculate the performance indicator, such as volume.
Output Value
This formula outputs one Y value.
- Performance
Performance 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 value for the daily close price (Series1:Y4), and outputs the performance indicator on Series3 (Series3:Y).
Chart1.DataManipulator.FinancialFormula (FinancialFormula.Performance, "Series1:Y4", "Series3:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.RateOfChange, 5, "Series1:Y4", "Series3:Y");
See Also
Reference
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting
Concepts
Financial Formulas
Applying Formulas
Build Date:
2012-08-02