OPEN-SOURCE SCRIPT

Bryant Adaptive Moving Average

@ChartArt got my attention to this idea.

This type of moving average was originally developed by Michael R. Bryant (Adaptrade Software newsletter, April 2014). Mr. Bryant suggested a new approach, so called Variable Efficiency Ratio (VER), to obtain adaptive behaviour for the moving average. This approach is based on Perry Kaufman' idea with Efficiency Ratio (ER) which was used by Mr. Kaufman to create KAMA.

As result Mr. Bryant got a moving average with adaptive lookback period. This moving average has 3 parameters:
  • Initial lookback
  • Trend Parameter
  • Maximum lookback


The 2nd parameter, Trend Parameter can take any positive or negative value and determines whether the lookback length will increase or decrease with increasing ER.

Changing Trend Parameter we can obtain KAMA' behaviour snapshot

To learn more see http://www.adaptrade.com/Newsletter/NL-AdaptIndicators.htm
adaptiveAdaptive Moving Average (AMA)bryantefficiencyefficiencyratioKaufman's Adaptive Moving Average (KAMA)lookbackTrend AnalysisvariableVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Freelance -> Telegram: @alex_everget

A list of FREE indicators:
bit.ly/2S7EPuN

A list of PAID indicators:
bit.ly/33MA81f

Earn $15:
tradingview.com/pricing/?share_your_love=everget
Also on:

Disclaimer