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 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 Exception | Condition |
---|
ArgumentException | Thrown when fast or slow period less than 2. |
See Also