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, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?