TradingView
goldenpath
5 אוק׳ 2017 06:39

Moving Average Ribbon 

תיאור

Ribbon of moving averages, select one of Hull, Weighted, Simple, or Exponential.

הערות שחרור

This latest version (10/5/2017) add more MA types, improves the options interface, and removes two errors from the last version which would force Hull MA over other options.

הערות שחרור

Minor update for clarity.

הערות שחרור

This version of the Moving Average Ribbon provides 8 Moving Averages and uses the chart's time period.

The Moving Averages are:
5 periods, 8 periods, 13, 20, 30, 50, 100, 150 and 200.

They will all be the same type of Moving Average. Available options are:
Simple - sma
Exponential - ema
Double Exponential - dema
Triple Exponential - tema
Weighted - wma
Hull - hma

They will change color to indicate if they are trending upwards or downwards and to indicate if they are above or below the 200 period MA.
Lime - Above the 200 period MA and rising.
Green - Below the 200 period MA and rising.
Maroon - Above the 200 period MA and sinking.
Red - Below the 200 period MA and sinking.
תגובות
samad8837
her
anacondabitch
stupid question: how to import my bar at the bottom?
goldenpath
@anacondabitch, the bar is separate, find it here (Moving Average Bar, tradingview.com/script/zUOuNf75-Moving-Average-Bar/)
sal157011
Shouldn't the colors of the MA Ribbon be equal to the MA Bar? Isn't this the same as tradingview.com/script/1JKqmEKy-Madrid-Moving-Average-Ribbon/
goldenpath
@sal157011, You're right it's very unclear in the snapshot. I wasn't aware that a photo was being taken when I posted the script or I would have taken the other indicators & candles off for better visibility. The faster MAs (corresponding to the bottom few rows of the MA bar) here are invisible under the candles. I can't find any way to update a posted script so far, would love a tip if you happen to know. Compared to Madrid's, this ribbon has fewer MAs, a wider spread of periods, and the option for a variety of MA types. As is, I'm going to have to repost this in a bit with fixes and updates - I left something used for testing in the code.
goldenpath
@sal157011, Alright, I've figured out how to make updates through the platform, and a new & fixed version has been published (with additional MA types!).
עוד