StockFetcher Forums · General Discussion · Relative Strength<< >>Post Follow-up
dashover
226 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

Thanks!

Dash


SAFeTRADE
644 posts
msg #125411
Ignore SAFeTRADE
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
]





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

Similar...
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
]



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

Or just use the Relative Strength() function.

http://forums.stockfetcher.com/forums/Indicators/Comparative-Relative-Strength/33617

StockFetcher Forums · General Discussion · Relative Strength<< >>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.