OPEN-SOURCE SCRIPT
已更新 RK's 04 - Lots of MA Types Ribbon

Hello again,
I made this script to test what is the better Moving Average type to predict the market direction, so I put a function with All the MA I know.
To go beyond, this script have an option to increase the MA length as a Fibonacci Number or any other simple number to step.
If the drawing is too slow, just reduce the amount of MA lines in the input option ("Number of MA to Plot:") to 10 or less and it will be faster.
Hope you like, and if you know other Moving Average type, just tell me how can I get the formula and (if its good, not copyrighted and I have time) I can add here and update for all of us.
Obs: To avoid errors, the Maximum Nth Fibonacci Term to use in MA Length is 19 (4181)
I made this script to test what is the better Moving Average type to predict the market direction, so I put a function with All the MA I know.
To go beyond, this script have an option to increase the MA length as a Fibonacci Number or any other simple number to step.
If the drawing is too slow, just reduce the amount of MA lines in the input option ("Number of MA to Plot:") to 10 or less and it will be faster.
Hope you like, and if you know other Moving Average type, just tell me how can I get the formula and (if its good, not copyrighted and I have time) I can add here and update for all of us.
Obs: To avoid errors, the Maximum Nth Fibonacci Term to use in MA Length is 19 (4181)
發行說明
► Put an option to change colors when a slow MA crossover the right next fast MA line; ► Change the labels to one Info Panel or just simple symbols with the content in tooltip;
► Put a list of Fibonacci Sequence Terms in Inputs to help.
發行說明
After some update in TradingView's Pine Code, the old script stop to works.So, I rewrite some part of the code to fix the new problem;
And in addition, I put 4 new Moving Average kind to the script.
In any case, thanks omo-omo to report the bug.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。