OPEN-SOURCE SCRIPT
SMA Selector

Purpose : Plot up to 3 independently configurable SMAs. Each SMA slot can be
measured 3 ways:
1) "Chart Bars" - length counted in bars of the CURRENT chart
timeframe (classic ta.sma behavior).
2) "Trading Days" - length counted in real daily bars, pulled
from the daily timeframe regardless of what
timeframe the chart is on. Weekends/holidays
are automatically skipped because there is
no daily bar for them.
3) "Both" - plots both lines together for comparison.
measured 3 ways:
1) "Chart Bars" - length counted in bars of the CURRENT chart
timeframe (classic ta.sma behavior).
2) "Trading Days" - length counted in real daily bars, pulled
from the daily timeframe regardless of what
timeframe the chart is on. Weekends/holidays
are automatically skipped because there is
no daily bar for them.
3) "Both" - plots both lines together for comparison.
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。