StockFetcher Forums · General Discussion · sectors and industries - ranking by momentum?<< >>Post Follow-up
fotchstecker
304 posts
msg #156532
Ignore fotchstecker
modified
4/9/2021 9:47:37 AM

Stockfetcher has Industries: https://www.stockfetcher.com/examples?q=industry
Stockfetcher has Sectors: https://www.stockfetcher.com/examples?q=sector

But there's no way to (momentum, relative/absolute) rank them?

It should be easier to:
-assess the market regime/environment
-identify momentum in sectors and industries (and rank them)

This kind of functionality should be native to Stockfetcher. There should be more statistical tools, and it should be possible sort filter results by some broad momentum criteria tied to the industry or sector itself. Then it should be possible to scan the components of those outperforming sectors/industries.

In TC2000, this is easy to do. You have a watchlist of industries or sectors. You sort by, say, ROC20. You click on the industry or sector row. Another watchlist is populated with every symbol in that sector. You sort THOSE by, say, by ROC20, or filter them by breakout. Now you're buying very tickers that are actually _providing the momentum that makes that sector or industry the leader_. WHY isn't something so (proven, logical, readily available in data) a bedrock feature here?

Why does this matter? Momentum is one only factors available to retail traders for consistent outperformance. So why aren't retail-grade tools making this easier?

Does anyone have a way to do this, kludge or not? I have tried using indexes as the proxy, but the problem is that the components are not provided.

Thanks.

davesaint86
725 posts
msg #156533
Ignore davesaint86
4/9/2021 10:15:53 AM

Not perfect. This is what I look at.

Fetcher[apply to symlist(spy,qqq,xlc,xly,xlp,xle,fdn,xlv,xlf,xli,xlb,xlre,xlu,xlk,slv,gld,shy,tlt,ief,jnk,tbf)

draw rsi(5)
draw rsi(5) line at 50
draw rsi(5) line at 40
draw rsi(5) line at 50
draw rsi(5) line at 20
draw rsi(5) line at 80
draw atrlong on plot
draw atrshort on plot
draw ma(50)
draw ema(15)

set{E10, price above ma(15)}
set{D10Longposition, count(E10 > 0,1)}
set{D10Shortposition, count(E10 < 0,1)}
SET{D10TRIGGER,0}

set{E27, price above ma(50)}
set{D20Longposition, count(E27 > 0,1)}
set{D20Shortposition, count(E27 < 0,1)}
SET{D20TRIGGER,0}


set{E31, price above Upper Bollinger Bands(18,2)}
set{ABLongposition, count(E31 > 0,1)}
set{ABShortposition, count(E31 < 0,1)}
SET{ABSTRIGGER,0}

set{E35, price below Lower Bollinger Bands(18,2)}
set{BBLongposition, count(E35 > 0,1)}
set{BBShortposition, count(E35 < 0,1)}
SET{BBSTRIGGER,0}


set{CRS1, rsi(5),1)}
set{CRS2, rsi(13),1)}
set{CRS3, rsi(21),1)}
set{CCRS1, CRS1 + CRS2}
set{CCRS2, CCRS1 + CRS3}
set{CCRS3, CCRS2 /3}

set{CRS4, weekly rsi(5),1)}
set{CRS5, weekly rsi(13),1)}
set{CRS6, weekly rsi(321),1)}

set{WCRS1, CRS4 + CRS5}
set{WCRS2, WCRS1 + CRS6}
set{WCRS3, WCRS2 /3}
set{CWRSI1, CCRS3 + WCRS3}
set{C-RSI, CWRSI1 /2}
set{RSI21, RSI(21) - 50}
set{CRSI_Bar, RSI21}
PlotType{CRSI_Bar,zerobar}

set{RSI13, RSI(13) - 50}
set{RSI13_line, RSI13}
draw RSI13 on plot CRSI_Bar

set{RSI5, RSI(5) - 50}
set{RSI5_line, RSI5}
draw RSI5 on plot CRSI_Bar

set{drsilong1, count(rsi(21) above 5, 1)}
set{drsilong2, count(rsi(13) above rsi(21), 1)}
set{drsilong3, count(rsi(5) above rsi(21), 1)}
set{drsilong4, drsilong1 + drsilong2}
set{drsilong5, drsilong4 + drsilong3}
set{drsilong, count(drsilong5 equals 3, 1)}
set{drsishort, count(drsilong5 less than 3, 1)}
SET{DRSITRIGGER,0}


set{wrsi1, weekly rsi(5)}
set{wrsi2, weekly rsi(21)}
set{wrsi3, count(wrsi1 > wrsi2,1)}
set{wrsilong, count(wrsi3 equals 1, 1)}
set{wrsishort, count(wrsi3 less than 1, 1)}


set{CRS21, ROC(21,1)}
set{CRS63, ROC(63,1)}
set{CRS126, ROC(126,1)}
set{CR1, CRS21 + CRS63}
set{C-RS, CR1 + CRS126}

Set{W21, CRS21 * .33}
Set{W63, CRS63 * .33}
Set{W126, CRS126 * .34}
set{rw1, w21 + w63}
set{rw-c, rw1 + w126}

Set{RS1, csto + c-rsi}

Set{RS, rs1 / 2}
add column rs

set{wsto, weekly Slow Stochastics(14,3)}
set{dsto, Slow Stochastics(14,3)}
set{wdsto, wsto + dsto}
set{CSTO, wdsto / 2}
set{TWRSI5, weekly RSI(5)}
set{TWRSI13, weekly RSI(13)}
set{TWRSI21, weekly RSI(21)}
set{TWRSI1, TWRSI5 + TWRSI13}
set{TWRSI2, TWRSI1 + TWRSI21}
set{A-WRSI, TWRSI2 / 3}
set{TDRSI57, RSI(5)}
set{TDRSI13, RSI(13)}
set{TDRSI30, RSI(21)}
set{TDRSI1, TDRSI5 + TDRSI13}
set{TDRSI2, TDRSI1 + TDRSI21}
set{A-DRSI, TDRSI2 / 3}



set{LongRSI21Trend,count(RSI(21) > 50 ,1)}

set{LongRSI,count(RSI5 > RSI13 ,1)}


set{LongRSI5,count(RSI5 above the 0 line ,1)}
draw longrsi5 on plot
set{LongRSI13,count(RSI13 above the 0 line ,1)}
draw longrsi13 on plot
set{LongRSI21,count(RSI21 above the 0 line ,1)}
draw longrsi21 on plot
DRAW FIBONACCI UP(65)
DRAW FIBONACCI DOWN(65)
SET{TI42, MA(4) / MA(42)}


add column separator
add column ti42

add column separator
add column ABLongposition{a-u-bb}
add column separator
add column BBShortposition{b-l-bb}
add column separator
add column D10Longposition {EMA15}
add column separator
add column D20Longposition {MA50}
add column separator
add column rsi(5)
add column separator
add column longrsi5 {rsi5t}
add column separator
add column LongRSI13 {RSI13t}
add column separator
add column LongRSI21Trend{RSI21T}
add column separator


ADD column rw-c
add column separator
ADD COLUMN ROC(63,1) {3 mth %}
add column separator
ADD COLUMN ROC(21,1) {1 mth %}
add column separator

add column csto
ADD COLUMN SEPARATOR
add column c-rsi
ADD COLUMN SEPARATOR

add column RSI(2)

add column separator
add column RSI(13)
add column separator
add column RSI(21)
add column separator

add column atr(14) {Atr}
add column separator
add column average day range (14){ADR%}



SORT COLUMN 5 desCENDING
CHART-TIME IS 120 days
]



fotchstecker
304 posts
msg #156534
Ignore fotchstecker
4/9/2021 10:35:13 AM

Hi, Dave -- thank you for sharing the solution you use. I much appreciate it. I had experimented with using the SPDRs and think it's probably the best middle ground -- much as you use it.

Would you mind sharing how you use it? I noticed that you sort by column 5/Relative Strength. Are you monitoring sector (etfs) are the the top position, say on a daily basis or something? Will you then use that sector for running additional filters against?

wantonellis
161 posts
msg #156540
Ignore wantonellis
4/10/2021 6:55:42 AM

Good idea on the ranking solution. Check out Barchart too. You can sign up for free.

https://www.barchart.com/stocks/indices/us-sectors

fotchstecker
304 posts
msg #156567
Ignore fotchstecker
4/12/2021 8:50:24 AM

Thanks, wantonellis. The barcharts sectors/industries are good, too. Hadn't been on that website for a while, always good stuff there. And it's easy to get to the components pretty quickly.

StockFetcher Forums · General Discussion · sectors and industries - ranking by momentum?<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.