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 快照

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

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


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
更多:

免責聲明