Kama Constructor (Int32, Int32, Int32) |
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
)
Parameters
- period
- Type: SystemInt32
Period used to calculate Efficiency Ratio. - fastPeriod
- Type: SystemInt32
Fast period for smoothing. - slowPeriod
- Type: SystemInt32
Slow period for smoothing.
Exceptions Exception | Condition |
---|
ArgumentException | Thrown when fast or slow period less than 2. |
See Also