StockFetcher Forums · Filter Exchange · Is there a way to correlate a stock to anything?<< >>Post Follow-up
johnnyvento
51 posts
msg #67539
Ignore johnnyvento
9/20/2008 1:18:34 PM

like an index, another stock, oil, anything? Seems obvious but the word 'correlate' does not exist in the SF user guide.

alf44
2,025 posts
msg #67540
Ignore alf44
modified
9/20/2008 2:01:57 PM

...you can use "Comparative Relative Strength"...

Comparative Relative Strength

-------------------------------------------

For Example :


Fetcher[/* NASDAQ 100 Comparative Relative Strength Rank vs. Russell 3000 Index */

set{RelStrRank, Comparative Relative Strength(^RUA, 30)}

Show all stocks where Market is NASDAQ 100

draw EMA(10)
draw EMA(30)
draw EMA(150)

add column RelStrRank

sort column 5 descending
]



---------------------------------------------------------

This simply computes a ratio in the price change of each stock in the NAZ 100 to the price change in the Russel 3000...over the last 30 days !

The Comparative Relative Strength column is sorted in descending order...so that...the BEST price performers (compared to the Russel 3000) rise to the top !

Anything ABOVE 1...shows outperformance on a relative basis...a 1.25 reading (for example) means that particular stock outperformed the Russell 3000 by 25% !!!

Does that help ?


Regards,

alf44

chetron
2,817 posts
msg #67541
Ignore chetron
modified
9/20/2008 2:16:29 PM

z

johnnyvento
51 posts
msg #67542
Ignore johnnyvento
9/20/2008 2:38:49 PM

thanks guys. This could potentially be useful. Is it possible to turn the output number of above and below 1 into a statistic of percentage of time moved in synch with the index? I don't care about over and underperformance which is what this looks like it was intended for.

StockFetcher Forums · Filter Exchange · Is there a way to correlate a stock to anything?<< >>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.