Chaikin Oscillator
Previous Topic  Next Topic 

Definition

Courtesy of www.stockcharts.com
Courtesy of www.marketscreen.com

Syntax
ChaikinOscillator(int fast, int slow)
ChaikinOscillator(IDataSeries inputData, int fast, int slow)

Returns default value
ChaikinOscillator(int fast, int slow)[int barsAgo]
ChaikinOscillator(IDataSeries inputData, int fast, int slow)[int barsAgo]


Return Type
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.


Parameters

fast

The number of bars to calculate the fast EMA

slow

The number of bars to calculate the slow EMA

inputData

Indicator source data (?)


Examples

// Prints the current value of a ChaikinOscillator using default price type
double value = ChaikinOscillator(3, 10)[0];
Print("The current ChaikinOscillator value is " + value.ToString());


Source Code
You can open up the indicator source code via the NinjaScript Editor.