Category

Multi-Bar Functions

Description

Kaufman Adaptive Moving Average

Syntax

KAMA(expr, erlen, fastest, slowest)

Parameters

expr - data series formula

erlen - lookback length for the Efficiency Ratio calculation used to adapt the EMA length

fastest - shortest EMA equivalent lookback period

slowest - longest EMA equivalent lookback period

Notes

KAMA is a kind of exponential moving average which adapts its weighting factor (often mistaken for a lookback length) at each bar of its calculation by computing the Kaufman Efficiency Ratio and using that to determine that bar's weighting.

The most common parameters are KAMA(expr, 10, 2, 30).

See stockcharts.com for further details.

This function supports ultra-fast one-pass calculation when used in the Data Section with non-variable length parameters.

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC