See Also

FinancialEngine Class  | FinancialEngine Members  | Overload List

Language

Visual Basic

C#

Show All

sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
noOfPeriods
An integer which represents the number of periods used over which the closing price is compared.
method
Determines the methods used for the evaluation of the moving average in accordance with the following key:
  1. 1 = Simple moving average
  2. 2 = Geometric moving average
  3. 3 = Linearly weighted moving average
  4. 4 = Exponentially Weighted Moving average within smoothing fact set to be 0.5.

For further details concerning the definition of these moving averages please see the accompanying PDF documentation or the API documentation for SimpleMovingAverage.

lengthOfMA
The number of periods over which the moving average is considered.
See Also Languages dotnetCHARTING Send comments on this topic.

DStochastic(SeriesCollection,Int32,Int32,Int32) Method

Evaluate the (general) %D Stochastic.

[Visual Basic]
Overloads Public Shared Function DStochastic( _    ByVal sc As SeriesCollection, _    ByVal noOfPeriods As Integer, _    ByVal method As Integer, _    ByVal lengthOfMA As Integer _ ) As SeriesCollection
[C#]
public static SeriesCollection DStochastic(    SeriesCollection sc,    int noOfPeriods,    int method,    int lengthOfMA );

Parameters

sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
noOfPeriods
An integer which represents the number of periods used over which the closing price is compared.
method
Determines the methods used for the evaluation of the moving average in accordance with the following key:
  1. 1 = Simple moving average
  2. 2 = Geometric moving average
  3. 3 = Linearly weighted moving average
  4. 4 = Exponentially Weighted Moving average within smoothing fact set to be 0.5.

For further details concerning the definition of these moving averages please see the accompanying PDF documentation or the API documentation for SimpleMovingAverage.

lengthOfMA
The number of periods over which the moving average is considered.

Remarks

This is just the moving average of the (fast) When the simple moving average is used and the moving average is take over three days, the resulting indicator to referred to as the K Stochastic.

As one would expect the Moving Average D of the K Stochastic depends on:

Remark When the simple moving average is used and it is evaluated over 3-days, then the D Stochastic reduces to what is known as the slow K Stochastic.

See Also

FinancialEngine Class  | FinancialEngine Members  | Overload List

 

 


2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.