Violent

Moving Average Ribbon

Violent Обновлено   
Moving Average Ribbon:
-----------------------------------------------------------

A series of moving averages of different lengths to create a ribbon-like indicator. Traders can determine trend strength by the distance between the moving averages, the overall balance of the coloured lines and determine price points. Price movements through the ribbon can be used to identify trend changes.

SMA, EMA, WMA with user defined length, starting plot, number of plots to show, theme choice and colour calculation toggle.


Inputs:
-----------------------------------------------------------

Source: input value for MAs (close)

Type: moving average type (ema)

Theme: multiple colours/themes (theme 2)

Length: MA length (13)

Start: MA plot number to start ribbon on (1)

No. of MAs: number of plots to show; maximum 32 (32)

Colour option: unchecked then line colour is based on the source value crossing current MA otherwise the moving average below (false)


Example:
-----------------------------------------------------------

multiple MAs overlaid with different values give interesting results e.g.

Ribbon1 :
length: 13
start: 1

Ribbon2:
length:1
start: 26


Notes:
-----------------------------------------------------------

if increasing the length beyond around 150 results in "references too many candles in history" error then reduce the no. of MAs value to show less MA plots; the longer length MAs will go beyond the 5k max candle history..
Информация о релизе:
Updated legacy code.
Информация о релизе:
Updated legacy code.
Информация о релизе:
Updated legacy code.
Информация о релизе:
Updated defaults.

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

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