kaufmansAMA() function
The kaufmansAMA()
function calculates the Kaufman’s Adaptive Moving Average (KAMA)
using values in an input table.
Function type: Transformation
kaufmansAMA(
n: 10,
column: "_value"
)
Kaufman’s Adaptive Moving Average is a trend-following indicator designed to account for market noise or volatility.
Parameters
n
The period or number of points to use in the calculation.
Data type: Integer
column
The column to operate on.
Defaults to "_value"
.
Data type: String
Examples
from(bucket: "telegraf/autogen"):
|> range(start: -7d)
|> kaufmansAMA(
n: 10,
column: "_value"
)
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, the following resources are available:
InfluxDB Cloud and InfluxDB Enterprise customers can contact InfluxData Support.