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.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script open-source
Dans l'esprit TradingView, le créateur de ce script l'a rendu open source afin que les traders puissent examiner et vérifier ses fonctionnalités. Bravo à l'auteur! Bien que vous puissiez l'utiliser gratuitement, n'oubliez pas que la republication du code est soumise à nos Règles.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.