stockmonkey
New member
Hi Everyone!
I have a small watchlist consisting about 20 symbols. I'm looking for a way to have a study that will add the underlying sector ETF as a comparison to the currently selected ticker. For example:
My watchlist:
 
When I have Apple as my current chart is there a way that the study can check the listed symbols from the above list (already coded as a part of this study) and find the corresponding sector of the current chart symbol (Information Technology for the Apple example) and add the corresponding ETF from the below listed as a comparison overlaying chart:
Cyclicals = "XLY";
Technology = "XLK";
Industrials = "XLI";
Materials = "XLB";
Energy = "XLE";
Staples = "XLP";
HealthCare = "XLV";
Utilities = "XLU";
Financials = "XLF";
Hope I was clear in my expression and thanks so much for any help in advance.
	
		
			
		
		
	
				
			I have a small watchlist consisting about 20 symbols. I'm looking for a way to have a study that will add the underlying sector ETF as a comparison to the currently selected ticker. For example:
My watchlist:
| ACGLN | ARCH CAPITAL GROUP DEP SHS REP 1/1000TH PFD *CLBL | Financials | 
| ABR | ARBOR REALTY TRUST INC COM USD0.01 | Financials | 
| ABCM | ABCAM PLC ADR SPONSORED | Health Care | 
| AAT | AMERICAN ASSETS TRUST INC COM USD0.01 | Real Estate | 
| AB | ALLIANCEBERNSTEIN HOLDING LP SBI | Financials | 
| ABNB | AIRBNB INC COM CL A | Consumer Discretionary | 
| ACA | ARCOSA INC COM | Industrials | 
| AAPL | APPLE INC COM | Information Technology | 
When I have Apple as my current chart is there a way that the study can check the listed symbols from the above list (already coded as a part of this study) and find the corresponding sector of the current chart symbol (Information Technology for the Apple example) and add the corresponding ETF from the below listed as a comparison overlaying chart:
Cyclicals = "XLY";
Technology = "XLK";
Industrials = "XLI";
Materials = "XLB";
Energy = "XLE";
Staples = "XLP";
HealthCare = "XLV";
Utilities = "XLU";
Financials = "XLF";
Hope I was clear in my expression and thanks so much for any help in advance.
 
				 
						 
 
		 
 
		