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 = Simple moving average
- 2 = Geometric moving average
- 3 = Linearly weighted moving average
- 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(String,Series,ElementValue,Int32).
- lengthOfMA
- The number of periods over which the moving average is considered.
As one would expect the Moving Average %D of the %K Stochastic depends on:
- %D Periods - The number of periods over which the moving average is evaluated.
- MA Method - This is the method by which the moving average of the Stochastic %K is evaluated. We offer a range of methods for the evaluation of the moving average, these include: simple, exponential, geometric, weighted, linearly weighted and exponentially weighted.
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2