OPEN-SOURCE SCRIPT

MAMA by EHLERS

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)

mesasoftware.com/papers/MAMA.pdf

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 https://document.http://www.mesasoftware.com/papers/MAMA.pdf)


Creator: John EHLERS
ehlersFR3762kivancMESA Adaptive Moving Average (MAMA)Moving Averages

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


Telegram t.me/AlgoRhytm

YouTube (Turkish): youtube.com/c/kivancozbilgic

YouTube (English): youtube.com/c/AlgoWorld
Aussi sur:

Clause de non-responsabilité