kaufmansAMA() function
The kaufmansAMA()
function calculates the Kaufman’s Adaptive Moving Average (KAMA)
using values in an input table.
Function type: Aggregate
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"
)
Bug Reports and Feedback
Thank you for being willing to help test InfluxDB v2.0 alpha! Feedback and bug reports are welcome and encouraged both for InfluxDB and this documentation. Submit feedback using one of the following methods:
- Post in the InfluxData Community
- In the InfluxDB UI, click Feedback in the left navigation bar.
- Submit documentation issues to the InfluxDB 2.0 documentation repository.
- Submit InfluxDB issues to the InfluxDB repository.