OPEN-SOURCE SCRIPT

Market Breadth Indicator (percentage of US stocks above * SMA)

מעודכן
This script is a revised version of jchang274's Multi-Sub script.
Add more feature from the original jchang274 script.
1.Compare 4 US STOCK INDEX ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 ) in the same index of percentage of stocks above 20 /50/100/200 days simple moving average.
2. Use 4 index of percentage of stocks above 20 /50/100/200 days simple moving average,compare the same stock index ( Dowjones 30/NASDAQ100/RUSSELL2000/S&P500 )

How it begin?
Traders and investors use market breadth in order to assess the index’s overall health. Market breadth can be a reliable, if not an accurate, indicator of an upcoming price rise in the index. Similarly, it can also provide early warning signs for a future price decline.

What is it?
Market breadth indicators analyze the number of stocks advancing relative to those that are declining in a given index or on a stock exchange.
Market breadth refers to how many stocks are participating in a given move in an index or on a stock exchange. An index may be rising yet more than half the stocks in the index are falling because a small number of stocks have such large gains that they drag the whole index higher.

How it works?
Market breadth studies attempt to uncover strength or weakness in the movements of an index that are not visible simply by looking at a chart of the index.
הערות שחרור
March 20th 2021
Update a new river map to show the market breadth of S&P500. Each color zone indicate the percentage of a S&P500 industry sector's stocks that above its 20 days SMA. As a whole ,the graph show the percentage of S&P500 components that above its 20 days SMA.
הערות שחרור
minor bug fix
הערות שחרור
BUG FIX
Advance/Decline RatioBreadth IndicatorsCumulative Volume Index (CVI)marketbreadth

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור