TradingView
Violent
18 апр 2020 г., 09:50

Moving Average Ribbon 

Bitcoin / United States DollarCoinbase

Описание

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.
Комментарии
formalrisk
Very, very, very cool. Huge thanks.

I modified the settings to SMA on 7 day length (reduced from 13 to smooth out since EMA to SMA becomes more gappy) and increased 'Start' to 6 to tighten general trend. Got this:



BTC is obviously trending way under historical SMA; massive bear-ish price squeeze in effect right now. Largely predicated on uncertainty of future of SPX

Super well done man. I wish I could do what you do.
asuaogi
@formalrisk, how setup bro?
Black-Hawk2024
@formalrisk, same question, how did you change settings?
asuaogi
how set up? bro !
allanster
Beautiful work!
Violent
andy5868
@Violent, This version going to be released? It looks incredible!
Violent
@andy5868, It is the current version. It uses two ribbons with different settings to achieve the above result.
aaahopper
Love the outside of the box thinking on your coding :)
AlbertThugstein
Great work!
Ещё