kaufmansAMA() calculates the Kaufman’s Adaptive Moving Average (KAMA) using
values in input tables.
Kaufman’s Adaptive Moving Average is a trend-following indicator designed to account for market noise or volatility.
Function type signature
(<-tables: stream[A], n: int, ?column: string) => stream[B] where A: Record, B: Record
(Required) Period or number of points to use in the calculation.
Column to operate on. Default is
Input data. Default is piped-forward data (
Calculate Kaufman’s Adaptive Moving Average for input data
import "sampledata" sampledata.int() |> kaufmansAMA(n: 3)
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.