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. קרא עוד ב־תנאי השימוש.