OPEN-SOURCE SCRIPT
SPX Sector Market Breadth Above 50-DAY Average

This script is a revised version of jchang274's script.
The percentage of stocks trading above a specific moving average is a breadth indicator that measures internal strength or weakness in the underlying index. The 50-day moving average is used for short-to-medium-term timeframes. Signals can be derived from overbought/oversold levels, crosses above/below 50% and bullish / bearish divergences.
Breadth is weakening when the indicator falls and strengthening when the indicator rises. A rising market and falling indicator would raise suspicions on underlying weakness. Similarly, a falling market and rising indicator would suggest underlying strength that could foreshadow a bullish reversal.
The percentage of stocks trading above a specific moving average is a breadth indicator that measures internal strength or weakness in the underlying index. The 50-day moving average is used for short-to-medium-term timeframes. Signals can be derived from overbought/oversold levels, crosses above/below 50% and bullish / bearish divergences.
Breadth is weakening when the indicator falls and strengthening when the indicator rises. A rising market and falling indicator would raise suspicions on underlying weakness. Similarly, a falling market and rising indicator would suggest underlying strength that could foreshadow a bullish reversal.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.