Chaikin Oscillator Formula
The Chaikin Oscillator formula is useful for monitoring volume flow in a market. It applies the Accumulation Distribution Formula on the input, calculates the exponential moving average of the result for a short period and a long period, and then outputs the difference between the two.
This formula should be used together with the Envelopes Formula.
Formula Details
Syntax
Chart.DataManipulator.FinancialFormula(
FinancialFormula.ChaikinOscillator,
"PeriodShort,PeriodLong",
"High,Low,Close,Volume",
"CO")
Parameters
This formula takes two optional parameters.
- PeriodShort
Period for calculating the short period exponential moving average. The default value is 3.
- PeriodLong
Period for calculating the long period exponential moving average. The default value is 10.
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.
- CO
Chaikin Oscillator.
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, low, and close prices (Series1:Y,Series1:Y2,Series1:Y4) and Series2's Y value for the daily volume (Series2:Y), and then outputs the Chaikin Oscillator on Series3 (Series3:Y). It uses a short period of 5 days and a long period of 12 days.
Chart1.DataManipulator.FinancialFormula (FinancialFormula.ChaikinOscillator, "5,12", "Series1:Y,Series1:Y2,Series1:Y4,Series2:Y", "Series3:Y")
Chart1.DataManipulator.FinancialFormula (FinancialFormula.ChaikinOscillator, "5,12", "Series1:Y,Series1:Y2,Series1:Y4,Series2:Y", "Series3:Y");
See Also
Reference
Accumulation Distribution Formula
Exponential Moving Average Formula
System.Windows.Forms.DataVisualization.Charting
System.Web.UI.DataVisualization.Charting
Concepts
Financial Formulas
Applying Formulas
Build Date:
2012-08-02