Moving Average - Kaufman’s Adaptive (KAMA)
Moving Average - Kaufman’s Adaptive (KAMA)
Description
Developed by Perry Kaufman, this indicator is an EMA using an Efficiency Ratio to modify the smoothing constant, which ranges from a minimum of Fast Length to a maximum of Slow Length.
Syntax
KAMA(int fast, int period, int slow)
KAMA(ISeries\<double\> input, int fast, int period, int slow)
Returns default value
KAMA(int fast, int period, int slow)[int barsAgo]
KAMA(ISeries\<double\> input, int fast, int period, int slow)[int barsAgo]
Return Value
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
Parameters
Examples
Source Code
You can view this indicator method source code by selecting the menu New > NinjaScript Editor > Indicators within the NinjaTrader Control Center window.

