cheatcountry

Ehlers Mother Of Adaptive Moving Averages [CC]

The Mother Of Adaptive Moving Averages was created by John Ehlers (Rocket Science For Traders pgs 182-183) and this is definitely my favorite Ehlers moving average script. This works as a trend indicator and a typical moving average. When the mama is above the fama then the stock is in an uptrend and vice versa. Of course it is also good when the price is above the fama and mama lines. Buy when the indicator line is green and sell when it is red.

Let me know if there are other indicator scripts you would like to see me publish or if you want something custom done!
Versionshinweise: Made a suggest change to use degrees for the phase as Ehlers intended
Versionshinweise: changed default input
Open-source Skript

Ganz im Sinne von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es verstehen und überprüfen können. Ein Hoch auf den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Publikation unterliegt den Hausregeln. Sie können das Skript den Favoriten hinzufügen, um es auf dem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Kommentare

is there a particular setting/tf to use this one for stocks and indices ? Thanks
100 Coins
Antworten
cheatcountry AsxPunter
@AsxPunter, The beautiful thing about this indicator is that it is fully adaptable to any timeframe. The only thing I could recommend is to change the fast limit and slow limit amounts to adjust how you prefer
Antworten
AsxPunter cheatcountry
@cheatcountry, bcoz u r the creator , I wud like to hear from u a good setting as I cud become subjective in selection. Wonder what is good for stks and indices (as they are slower to move)
Antworten
can u suggest some trick to remove the noise in sideways market ?
+1 Antworten
cheatcountry daytraderph
@daytraderph, message me and we can talk about this
Antworten
santos1290 cheatcountry
@cheatcountry, @daytraderph

Did you guys got any solution to this?
Antworten
This is my favorite Ehlers indicator for trends and I recognize it right away at first sight by its ratcheting, and I don't see that on this case.
The reason must be on the line 43 of the script. The phase must be in degrees. phase = i1 != 0 ? 180/pi * atan(q1 / i1) : 0
For me the best indication of a sure change in trend is when the FAMA line changes direction, up or down.
I like to fill the space between the lines of green when MAMA>FAMA and of red if not.
+1 Antworten
cheatcountry sal157011
@sal157011, yeah I changed the script to use degrees for the phase. I always manage to miss that in ehlers scripts because he uses degrees for everything and everyone else uses radians
Antworten
sal157011 cheatcountry
@cheatcountry, Yes, he always uses tradestation and the trigonometric functions on that platform are all in degrees.
Antworten
Can you create corrected moving average
Antworten