OPEN-SOURCE SCRIPT
The Setup Factory Breadth

The Setup Factory Breadth
Layer 1: Participation (Adv-Decl Issues)
Calculation: It takes the number of NYSE stocks currently going up and subtracts the number of stocks currently going down.
Layer 2: Conviction (Up - Down Volume)
Calculation: It takes the total volume of all stocks moving up and subtracts the volume of all stocks moving down.
Layer 3: Diversification (The Sector Count)
Calculation: It looks at the 11 S&P 500 Sector ETFs (XLK for Tech, XLF for Banks, etc.). It checks if each one is trading higher than its previous day’s close.
It is updated live intraday.
Layer 1: Participation (Adv-Decl Issues)
Calculation: It takes the number of NYSE stocks currently going up and subtracts the number of stocks currently going down.
Layer 2: Conviction (Up - Down Volume)
Calculation: It takes the total volume of all stocks moving up and subtracts the volume of all stocks moving down.
Layer 3: Diversification (The Sector Count)
Calculation: It looks at the 11 S&P 500 Sector ETFs (XLK for Tech, XLF for Banks, etc.). It checks if each one is trading higher than its previous day’s close.
It is updated live intraday.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.