Click or drag to resize

Kama Constructor (Int32, Int32, Int32, Boolean)

Creates new instance of KAMA technical indicator.

Namespace:  FinAnalysis.TA
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public Kama(
	int period,
	int fastPeriod,
	int slowPeriod,
	bool highPrecision
)

Parameters

period
Type: SystemInt32
Period used to calculate Efficiency Ratio.
fastPeriod
Type: SystemInt32
Fast period for smoothing.
slowPeriod
Type: SystemInt32
Slow period for smoothing.
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.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when fast or slow period less than 2.
See Also