Click or drag to resize

Stochastic Constructor (Int32, Int32, Int32, Boolean)

Creates new instance of Stochastic indicator

Namespace:  FinAnalysis.TA
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public Stochastic(
	int rawPeriod,
	int kPeriod,
	int dPeriod,
	bool highPrecision
)

Parameters

rawPeriod
Type: SystemInt32
Number of values used to calculate Raw Stochastic.
kPeriod
Type: SystemInt32
Number of values used to calculate %K.
dPeriod
Type: SystemInt32
Number of values used to calculate %D.
highPrecision
Type: SystemBoolean
Calculate separate statistics on non-overlapped windows and update it on the window boundary for statistics error minimization at the cost of small performance decrease.
See Also