Weighted Advance/Decline For ThinkOrSwim

Information Technology
27.3%
Health Care
14.1%
Consumer Discretionary
11.4%
Financials
10.9%
Communication Services
8.4%
Industrials
7.9%
Consumer Staples
6.8%
Energy
4.7%
Utilities
3.1%
Real Estate
2.9%
Materials
2.5%


The weightings for each sector of the index are rounded to the nearest tenth of a percent; therefore, the aggregate weights for the index may not equal 100%.

As of Aug 31, 2022
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Great work by everyone involved. Going to give this a try Monday. Looks like it could be very helpful. If anyone has tips when using it, post up.
 
Last edited:
Information Technology
27.1%
Health Care
14.4%
Financials
11.2%
Consumer Discretionary
10.9%
Communication Services
8.8%
Industrials
7.8%
Consumer Staples
6.5%
Energy
4.8%
Utilities
3.0%
Materials
2.8%
Real Estate
2.8%
The weightings for each sector of the index are rounded to the nearest tenth of a percent; therefore, the aggregate weights for the index may not equal 100%.

Based on GICS® sectors


As of May 31, 2022

How would you weight the Nasdaq?

Google says:

  • technology - 51.11%
  • consumer services - 16.06%
  • consumer goods - 8.8%
  • health care - 7.74%
  • financials - 7.43%
  • industrials - 5.52%,
  • oil and gas - 1.02%
  • utilities - 0.91%
  • telecommunications - 0.90%
  • basic materials - 0.52%
 
Last edited:
Information Technology
26.4%
Health Care
15.1%
Consumer Discretionary
11.7%
Financials
11.0%
Communication Services
8.1%
Industrials
7.9%
Consumer Staples
6.9%
Energy
4.5%
Utilities
3.1%
Real Estate
2.8%
Materials
2.5%
The weightings for each sector of the index are rounded to the nearest tenth of a percent; therefore, the aggregate weights for the index may not equal 100%. . As of Sep 30, 2022
 
Thanks to @samer800 @Cwparker23 and others who have contributed to this fabulous rendition of an already amazing indicator from Shadow Trader.

If anyone scalps ES futures (like I do), this indicator is the closest one will get to trading real time with real market insights... without the Fibonacci, Moving Avg, channels, support / res fluff... and believe me there is a ton of fluff all around...
Market internals are key to trading ES and this is the best of the lot!!!
Can you share a sample trade on how you used for ES futures scalping?

Information Technology
26.4%
Health Care
15.1%
Consumer Discretionary
11.7%
Financials
11.0%
Communication Services
8.1%
Industrials
7.9%
Consumer Staples
6.9%
Energy
4.5%
Utilities
3.1%
Real Estate
2.8%
Materials
2.5%
The weightings for each sector of the index are rounded to the nearest tenth of a percent; therefore, the aggregate weights for the index may not equal 100%. . As of Sep 30, 2022
May I know where are you getting this from?
 
Information Technology
26.3%
Health Care
15.3%
Financials
11.4%
Consumer Discretionary
10.9%
Industrials
8.3%
Communication Services
7.5%
Consumer Staples
6.9%
Energy
5.4%
Utilities
3.0%
Real Estate
2.6%
Materials
2.5%

The weightings for each sector of the index are rounded to the nearest tenth of a percent; therefore, the aggregate weights for the index may not equal 100%. As of Oct 31, 2022
 
Shadowtrader FX Hour
Hosted by Blake Young every Tuesday after the market.
He uses the Monkey bars as a standard distribution chart (only sideways, with standard deviations of -2, -1.8, -1.5, -1.2, 0, 1.2, 1.5, 1.8, 2.0 ) looking for what the fair price should be on stock the following day/month and uses the Fibonacci retracement tool in TDA as measuring stick to get the fair price of today's range and adjust it with the Fibonacci extension tool as an adjusted measuring stick to reposition the Fibonacci retracement values
then finally looking at where the stock closed that day, you can predict the stock will be going up or down with some certainty for the next day.

I was trying to code this but found it challenging to get some values. In any case, Blake is, and I find his process to be more reliable.
You can learn this process by watching his last three videos in slow mode and not paying the $95 for his classes.

I agree, it's working perfectly on monthly prediction and yearly prediction. And one more observation is, when it passes 200% short term, it does not stay for a long time probably in a day or 2 the price moves back. By any chance you were able to code it? or do you see that as indicator in tradingview?
 
Does anyone know why this indicator stops reporting data by 10 AM (pacific)? Some days it will function the entire day....rarely, but most of the time it just stops. Today it wigged out on me at 8:10 AM... Need a fix for this please.
weighted-AD screenshot.png
Thank you!
 
This one seems to be a great match for ST's. Whether you find it useful or not is up to you, but I believe this is the accurate script (weightings need to be updated)

Code:
#Reverse Engineered Weighted A/D concept based off shadowtrader.net
###Be sure to check weightings periodically and update accordingly (https://www.spglobal.com/spdji/en/indices/equity/sp-500/#data)
#shared to uTS 1/30/24 by khpro59

declare lower;
Input Open_Time = 930;

input XLP_WT = 5.80;
input XLU_WT = 2.50;
input XLC_WT = 11.50;
input XLF_WT = 11.20;
input XLB_WT = 2.60;
input XLI_WT = 8.20;
input XLE_WT = 2.40;
input XLRE_WT = 2.60;
input XLV_WT = 13.40;
input XLK_WT = 27.90;
input XLY_WT = 11.90;

def XLP_PRnow = (close("XLP")-close("XLP")[1])/close("XLP")[1]*XLP_WT/100;

def XLU_PRnow = (close("XLU")-close("XLU")[1])/close("XLU")[1]*XLU_WT/100;

def XLC_PRnow = (close("XLC")-close("XLC")[1])/close("XLC")[1]*XLC_WT/100;

def XLF_PRnow = (close("XLF") -close("XLF")[1])/close("XLF")[1]*XLF_WT/100;

def XLB_PRnow = (close("XLB")-close("XLB")[1])/close("XLB")[1]*XLB_WT/100;

def XLI_PRnow = (close("XLI")-close("XLI")[1])/close("XLI")[1]*XLI_WT/100;

def XLE_PRnow = (close("XLE")-close("XLE")[1])/close("XLE")[1]*XLE_WT/100;

def XLRE_PRnow = (close("XLRE")-close("XLRE")[1])/close("XLRE")[1]*XLRE_WT/100;

def XLV_PRnow = (close("XLV")-close("XLV")[1])/close("XLV")[1]*XLV_WT/100;

def XLK_PRnow = (close("XLK")-close("XLK")[1])/close("XLK")[1]*XLK_WT/100;

def XLY_PRnow = (close("XLY")-close("XLY")[1])/close("XLY")[1]*XLY_WT/100;

DEF CAD = XLP_PRnow + XLU_PRnow + XLC_PRnow + XLF_PRnow + XLB_PRnow + XLI_PRnow + XLE_PRnow + XLRE_PRnow + XLV_PRnow + XLK_PRnow + XLY_PRnow;



Def Divider = 6.5*60/getAggregationPeriod()*200*500;

def notFirstBar = if SecondsFromTime(open_Time) >= 0 and SecondsFromTime(open_Time)[1] >= 0 then 1 else 0;


Def X = if getAggregationPeriod()== AggregationPeriod.MIN then 70000 else  if getAggregationPeriod() == AggregationPeriod.TWO_MIN then 60000 else if getAggregationPeriod() == aggregationPeriod.THREE_MIN then 55000 else if getAggregationPeriod() == aggregationPeriod.FOUR_MIN then 50000 else  if getAggregationPeriod() == aggregationPeriod.FIVE_MIN then 45000 else if getAggregationPeriod() == aggregationPeriod.TEN_MIN then 37500
 else if getAggregationPeriod() == aggregationPeriod.FIFTEEN_MIN then 35000 else if getAggregationPeriod() == aggregationPeriod.THIRTY_MIN then 32500  else if getAggregationPeriod() == aggregationPeriod.HOUR then 27500 else double.nan;


def CT = if  GetDay() != GetDay()[1] then 0 else if notFirstBar then CT[1] + CAD else 0;
plot Weighted_AD = if !IsNaN(CAD) then CT*X else Double.NaN;


plot zero = 0;
zero.SetDefaultColor(Color.WHITE);
zero.HideBubble();
zero.HideTitle();
Weighted_AD.DefineColor(“Positive”, Color.MAGENTA);
Weighted_AD.DefineColor(“Negative”, Color.ORANGE);
Weighted_AD.AssignValueColor(if Weighted_AD >= Weighted_AD [1] then Weighted_AD.Color(“Positive”) else Weighted_AD.Color(“Negative”));



DEF CAD2 = 11* (XLP_PRnow/xlp_wt + XLU_PRnow/xlu_wt + XLC_PRnow/xlc_wt + XLF_PRnow/xlf_wt + XLB_PRnow/xlb_wt + XLI_PRnow/xli_wt + XLE_PRnow/xle_wt + XLRE_PRnow/xlre_wt + XLV_PRnow/xlv_wt + XLK_PRnow/xlk_wt + XLY_PRnow/xly_wt);

def CT2 = if  GetDay() != GetDay()[1] then 0 else if notFirstBar then CT2[1] + CAD2 else 0;
plot Non_Weighted_AD = if !IsNaN(CAD2) then CT2*X
 else Double.NaN;
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
218 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top