Violent

Moving Average Ribbon

Violent Zaktualizowano   
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..
Informacje o Wersji:
Updated legacy code.
Informacje o Wersji:
Updated legacy code.
Informacje o Wersji:
Updated legacy code.
Informacje o Wersji:
Updated defaults.

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?