EduardoMattje

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

EduardoMattje 已更新   
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.
版本注释:
Added an option to view where crossovers and crossunders happened. You need to select which MA type you want.
版本注释:
Fixed typo.
版本注释:
Yet another typo.
版本注释:
Ok this the last one I swear
版本注释:
Included FRAMA and made VIDYA actually working.
版本注释:
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.
版本注释:
Included DEMA and LSMA. Also added an option to offset every average.
版本注释:
I made use of the new inline and group features on the input functions, so now they should be clearer and better organized.
版本注释:
I made some changes to the code to make it more readable.
版本注释:
Oops, wrong graph.
开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?