EduardoMattje

Every single moving average (ALMA, EMA, HMA, KAMA, RMA, SMA...)

EduardoMattje Aktualisiert   
So you may be looking at the graph and thinking "this is a mess", and I agree.

The purpose of this script is to plot in the same graph every single type of moving average that I could think of, so you can find the ones that are better for your timeframe and for your asset. Once you add it, disable those types that doesn't seem to serve your purpose, until you can select one you like.

The average types are: ALMA, EMA, HMA, KAMA, RMA, SMA, SWMA, VIDYA, VWAP, VWMA, and WMA. Each one is ploted two times (except SWMA and VWAP), one with a short period, and another with a long, both of which you can configure.
Versionshinweise:
Added an option to view where crossovers and crossunders happened. You need to select which MA type you want.
Versionshinweise:
Fixed typo.
Versionshinweise:
Yet another typo.
Versionshinweise:
Ok this the last one I swear
Versionshinweise:
Included FRAMA and made VIDYA actually working.
Versionshinweise:
I made the adaptive MAs better at the beginning by using the start price instead of 0. You can also see how many crossovers and crossunders happened, and noew you can easily disable short and long MAs. I also generated new colors so now it looks even more like a unicorn's puke.
Versionshinweise:
Included DEMA and LSMA. Also added an option to offset every average.
Versionshinweise:
I made use of the new inline and group features on the input functions, so now they should be clearer and better organized.
Versionshinweise:
I made some changes to the code to make it more readable.
Versionshinweise:
Oops, wrong graph.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?