Volatility Chaikins Formula
The Volatility Chaikins formula calculates the exponential moving average of the difference between daily high and low prices, then calculates the rate of change of the exponential moving average.
Formula Details
Syntax
Chart.DataManipulator.FinancialFormula(
FinancialFormula.VolatilityChaikins,
"PeriodEMA,PeriodROC",
"High,Low",
"VC")
Parameters
This formula takes two optional parameters.
- PeriodEMA
Period for calculating the exponential moving average of the difference between the high and low prices. The default value is 10.
- PeriodROC
Period for calculating the rate of change. The default value is 10.
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.
- VC
Volatility Chaikins 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 the daily high and low prices (Series1:Y,Series1:Y2), and outputs the Volatility Chaikins indicator on Series3 (Series3:Y). It uses a period of 15 days to calculate both the exponential moving average and the rate of change.
Chart1.DataManipulator.FinancialFormula (FinancialFormula.VolatilityChaikins, "15,15", "Series1:Y,Series1:Y2", "Series3:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.VolatilityChaikins, "15,15", "Series1:Y,Series1:Y2", "Series3:Y");
See Also
Reference
Exponential Moving Average Formula
Rate of Change Formula
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting
Concepts
Financial Formulas
Applying Formulas
Build Date:
2012-08-02