MESA Adaptive Moving Average aka: Mother of Adaptive Moving Averages:

The MESA Adaptive Moving Average ( MAMA ) adapts to price movement in an
entirely new and unique way. The adapation is based on the rate change of phase as
measured by the Hilbert Transform Discriminator I have previously described.1

The advantage of this method of adaptation is that it features a fast attack average and a
slow decay average so that composite average rapidly ratchets behind price changes
and holds the average value until the next ratchet occurs. The action of MAMA is
shown in Figure 1. Since the average fallback is slow I can build trading systems that
are virtually free of whipsaw trades.

For detailed information of MAMA: (creators' PDF document)

Long condition: when MAMA Crosses over FAMA (Following Adaptive Moving Average )

Short condition: when FAMA Crosses over MAMA

(Personally modified LazyBear's version which was originally calculated in degrees instead of radian by applying explanations in the MESA pdf /papers/MAMA.pdf#)

Creator: John EHLERS

Twitter: @kivancozbilgic

YouTube (Turkish):

YouTube (English):

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。