StockFetcher Forums · Filter Exchange · Sector Rotation<< 1 2 >>Post Follow-up
nibor100
1,111 posts
msg #162187
- Ignore nibor100
10/10/2026 5:52:28 PM

another test. Ed S.
Fetcher[
apply to symlist(XLE, XLK, XLF, XLV, XLI, XLY, XLP, XLU, XLB, XLRE, XLC)

set{rs_line, close / ind(SPY, close)}
set{trend_rank, pctrank(rs_line, 250)}
set{momentum_rank, pctrank(rs_line - rs_line 10 days ago, 250)}
set{raw_score, trend_rank * 0.06 plus momentum_rank * 0.04}
add column round(raw_score) {score today}
/*set{Score_Today, round(raw_score divided by 10)}*/

set{rs_line_historical, close 10 days ago divided by ind(SPY, close 10 days ago)}
set{trend_historical, pctrank(rs_line_historical, 250) 10 days ago}
set{mom_historical, pctrank(rs_line_historical - rs_line_historical 10 days ago, 250) 10 days ago}
set{raw_historical, trend_historical * 0.6 plus mom_historical * 0.4}
/*set{Score_2_Weeks_Ago, round(raw_historical divided by 10)}

set{Rotation_Shift, Score_Today - Score_2_Weeks_Ago}

add column Score_Today
add column Score_2_Weeks_Ago
add column Rotation_Shift > -100
sort by column 7 descending*/
]



nibor100
1,111 posts
msg #162188
- Ignore nibor100
10/10/2026 6:03:02 PM

next. Ed S.
Fetcher[
apply to symlist(XLE, XLK, XLF, XLV, XLI, XLY, XLP, XLU, XLB, XLRE, XLC)

set{rs_line, close / ind(SPY, close)}
set{trend_rank, pctrank(rs_line, 250)}
set{momentum_rank, pctrank(rs_line - rs_line 10 days ago, 250)}
set{raw_score, trend_rank * 0.06 plus momentum_rank * 0.04}
add column round(raw_score) {score today}
/*set{Score_Today, round(raw_score divided by 10)}*/

set{rs_line_historical, close 10 days ago divided by ind(SPY, close 10 days ago)}
set{trend_historical, pctrank(rs_line_historical, 250) 10 days ago}
set{mom_historical, pctrank(rs_line_historical - rs_line_historical 10 days ago, 250) 10 days ago}
set{raw_historical, trend_historical * 0.06 plus mom_historical * 0.04}
/*set{Score_2_Weeks_Ago, round(raw_historical divided by 10)}*/
add column round(raw_historical) {score 2Wks Ago}
add column round(raw_score) minus round(raw_historical) {Rotation Shift}
/*
set{Rotation_Shift, Score_Today - Score_2_Weeks_Ago}

add column Score_Today
add column Score_2_Weeks_Ago
add column Rotation_Shift > -100
sort by column 7 descending*/
]



nibor100
1,111 posts
msg #162189
- Ignore nibor100
10/10/2026 6:19:52 PM

this should do it.
Ed S.
Fetcher[
apply to symlist(XLE, XLK, XLF, XLV, XLI, XLY, XLP, XLU, XLB, XLRE, XLC)

set{rs_line, close / ind(SPY, close)}
set{trend_rank, pctrank(rs_line, 250)}
set{momentum_rank, pctrank(rs_line - rs_line 10 days ago, 250)}
set{raw_score, trend_rank * 0.06 plus momentum_rank * 0.04}
add column round(raw_score) {score today}

set{rs_line_historical, close 10 days ago divided by ind(SPY, close 10 days ago)}
set{trend_historical, pctrank(rs_line_historical, 250) 10 days ago}
set{mom_historical, pctrank(rs_line_historical - rs_line_historical 10 days ago, 250) 10 days ago}
set{raw_historical, trend_historical * 0.06 plus mom_historical * 0.04}

add column round(raw_historical) {score 2Wks Ago}
add column round(raw_score) minus round(raw_historical) {Rotation Shift}
sort by column 7 descending
]



nibor100
1,111 posts
msg #162190
- Ignore nibor100
10/10/2026 6:21:31 PM

@snappyfrog,
Let me know if the last one runs under your subscription.
Thanks,
Ed S.

StockFetcher Forums · Filter Exchange · Sector Rotation<< 1 2 >>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 2026 - 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.