OPEN-SOURCE SCRIPT
已更新 Seven Moving Avverages

This is a simple yet very flexible moving average script. There are more than few moving average scripts out there but non of them are as flexible as this one.
This script lets you have seven different moving averages. Each moving average can be set separately, each can :
1- switch the moving average between EMA and SMA
2- set the flat percentage, this setting will be used to determine where we don't have trend in that moving average to set the color to black (default)
3- set the source
You can easily set the colors in the style tab.
This script was developed by request of few of my friends.
This script lets you have seven different moving averages. Each moving average can be set separately, each can :
1- switch the moving average between EMA and SMA
2- set the flat percentage, this setting will be used to determine where we don't have trend in that moving average to set the color to black (default)
3- set the source
You can easily set the colors in the style tab.
This script was developed by request of few of my friends.
發行說明
Added few changes :1- moved the source for each moving average to top in input section, to me, it makes more sense for organization
2- added check box to draw or not draw each moving average in input section
發行說明
fixed a typo that would cause one of the moving averages to calculate the up and down situation and color code wrong開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。