ChaikinOsc (Function)
The ChaikinOsc series function calculates an oscillator between the fast and slow exponential moving averages of the Accumulated Distribution(AccumDist).
Syntax
ChaikinOsc(AnyVol, ShortLength, LongLength)
Returns (Double)
A numeric value for the current bar.
Parameters
|
Name |
Type |
Description |
|
AnyVol |
Numeric |
Sets the volume (Volume or Ticks) for one of the symbols in the chart. |
|
ShortLength |
Numeric |
Sets the number of bars for the short/fast exponential average. |
|
LongLength |
Numeric |
Sets the number of bars for the long/slow exponential average. |
Remarks
The AnyVol input parameter should be set to Volume when referencing daily data and to Ticks when referencing tick/minute data.
The value for the ShortLength and LongLength input parameters should always be a whole number greater than 0.
Example
Assigns a ChaikinOsc value based on the daily Volume to Value1, with a short length of 3 and a long length of 10; then plots Value1.
Value1 = ChaikinOsc (Volume, 3,10);
Plot1(Value1, "ChaikinOsc");
Reference
Colby, Robert W. and Thomas A. Meyers. The Encyclopedia of Technical Market Indicators. Dow Jones - Irwin. Homewood, IL. 1988.