Violent

Moving Average Ribbon

Violent Aggiornato   
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..
Note di rilascio:
Updated legacy code.
Note di rilascio:
Updated legacy code.
Note di rilascio:
Updated legacy code.
Note di rilascio:
Updated defaults.

Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?