John Ehlers MAMA – The Mother of Adaptive Moving Average

John Ehlers MAMA – The Mother of Adaptive Moving Average

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.   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. 

An interesting set of indicators result if the MAMA is applied to the first MAMA line to produce a Following Adaptive Moving Average (FAMA).  By using an alpha in FAMA that is half the value of the alpha in MAMA, the FAMA has steps in time synchronization with MAMA, but the vertical movement is not as great.  As a result, MAMA and FAMA do not cross unless there has been a major change in market direction.  This suggests an adaptive moving average crossover system that is virtually free of whipsaw trades.

(text and code adapted from jamesgoulding.com website).

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. mike35 • 12/24/2015 #

    nice work , nicolas , very good.

  2. richarjo • 12/24/2015 #

     Hi. 
     
    When I import MAMA the blue and red lines appear twice on my chart.  Any way of getting only one line of each to appear?
     
    thanks

    • Nicolas • 12/24/2015 #

      You have certainly apply the indicator twice on the price chart. If you want to hide one of the curve, you can set its Style to “invisible”.

  3. fabriziomerlo • 12/24/2015 #

    Buongiorno Nicolas,
     come faccio a trasformare questo interessantissimo indicatore in uno screener long/short?
     
    Grazie,
    Fabrizio

    • Nicolas • 12/24/2015 #

      Si desidera testare una croce sopra di 2 media mobile? Si prega di fare un argomento nel forum per la vostra richiesta. Grazie.

  4. Blue Sky • 12/24/2015 #

    A great job Nicolas, thanks. A question about averages, what period is the fast average and what period is the slow average? thank you

  5. Lotech123 • 12/24/2015 #

    This Indicator is very useful if the Risk number is altered to suit the time frame, volume or tick count. If combined with the PRC ASC Trend, also adjusted to suit, then some good results can be had. Thank you

    • j102491 • 121 days ago #

      how are you applying it to asc trend

  6. Bern • 12/24/2015 #

    error displaying, code must end with RETURN. Any idea hot to fix it?

avatar
Register or

Likes

avatar avatar avatar avatar avatar avatar avatar avatar
Related users ' posts
Denis Bonjour Nicolas, j'ai une question à propos de ce code, il faut que je la pose en anglais ca...
Nicolas En français pas de problème
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...

Top