StockFetcher Forums · General Discussion · Relative Strength<< >>Post Follow-up
170 posts
msg #125406
Ignore dashover
10/5/2015 10:59:00 AM

How do you compare all stocks vs the DOW and SP500 and show the one's that outperformed over the last 7 days...
Price > $5



431 posts
msg #125411
10/5/2015 11:47:50 AM

Fetcher[set{a, close - close 7 days ago}
set{b, a / close}
set{c, b * 100}

set{d, ind(spy,c)}
set{e, ind(dia,c)}

add column c{alpha}
add column d{spy}
add column e{dow}

c above d

close above 5
s&p 500

sort column 5 descending

154 posts
msg #125412
Ignore compound_gains
10/5/2015 12:00:50 PM

Sort on chg_vs_dia or chg_vs_spy for high and low relative performers.

Fetcher[set{chkdia, ind(dia, roc(7,1))}
set{chkspy, ind(spy, roc(7,1))}
set{chg, roc(7,1)}
set{chg_vs_dia, chg - chkdia}
set{chg_vs_spy, chg - chkspy}
close > 5
draw chkdia
draw chkspy on plot chkdia
draw chg on plot chkdia
add column chg_vs_dia
add column chg_vs_spy

4,599 posts
msg #125432
Ignore Kevin_in_GA
10/5/2015 4:57:00 PM

Or just use the Relative Strength() function.

StockFetcher Forums · General Discussion · Relative Strength<< >>Post Follow-up

*** Disclaimer *** 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. does not recommend particular securities., 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 2018 - 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