OPEN-SOURCE SCRIPT
Moving Average Ribbon - version 4

There are many different strategies using Moving Averages such as the Guppy, Super Guppy, Madrid Ribbon and others. Some strategies use one type of calculation over the other.
I am not advocating one strategy over another and this indicator is not a particular strategy. It provides up to 27 moving averages. You can choose between Simple, Exponential (default), ALMA, Hull, WMA, RMA and DEMA for the calculation method.
You can choose which Moving Averages to show and not show.
You can change the lengths of any of the Moving Averages.
Some strategies I have seen uses different sources. You can set the source for each individual Moving Average.
If you use this indicator more than once on the same chart, you can offset the two indicators if needed.
The indicator has two methods for coloring the plots. The default is by direction and order. If going up and the faster MA is higher than the next slower MA, it is bullish. If going down and the faster MA is lower than the next slower MA, it is bearish. Otherwise, it is neutral.
An alternate means looks at separation distance. A slower MA will inherit the color of the faster MA if the distance between the two is equal or greater than the previous candle.
If standard colors are used, there is a Strong Bear, Weak Bear, Strong Bull and Weak Bull. If you choose to use Alternate colors, you have a Bullish and Bearish color.
Defaults are simply set to how I have been using it. I also have it applied on multiple charts across multiple timeframes. It is not a recommendation or promise of best method. I am still experimenting with different layouts.
I am not advocating one strategy over another and this indicator is not a particular strategy. It provides up to 27 moving averages. You can choose between Simple, Exponential (default), ALMA, Hull, WMA, RMA and DEMA for the calculation method.
You can choose which Moving Averages to show and not show.
You can change the lengths of any of the Moving Averages.
Some strategies I have seen uses different sources. You can set the source for each individual Moving Average.
If you use this indicator more than once on the same chart, you can offset the two indicators if needed.
The indicator has two methods for coloring the plots. The default is by direction and order. If going up and the faster MA is higher than the next slower MA, it is bullish. If going down and the faster MA is lower than the next slower MA, it is bearish. Otherwise, it is neutral.
An alternate means looks at separation distance. A slower MA will inherit the color of the faster MA if the distance between the two is equal or greater than the previous candle.
If standard colors are used, there is a Strong Bear, Weak Bear, Strong Bull and Weak Bull. If you choose to use Alternate colors, you have a Bullish and Bearish color.
Defaults are simply set to how I have been using it. I also have it applied on multiple charts across multiple timeframes. It is not a recommendation or promise of best method. I am still experimenting with different layouts.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。