StockFetcher Forums · General Discussion · Draw ^spx on chart with stock<< >>Post Follow-up
curmudgeon
103 posts
msg #51269
Ignore curmudgeon
4/21/2007 1:09:57 PM

I'm sorting ETF's by relative strength and was wondering if there is a way to draw a (line on close) of the spx on the same chart as the ETF's...sort of a visual tool to show the magnitude of the difference.


/* Relative Strength */

set{rs, relative strength(^SPX,126)}
add column rs

/* Init Sort */

show stocks where rs is above 0.00
and Average Volume(21) is greater than 500000
and stock type is ETF
and sort column 5 descending
and chart-length is 2-years

SAFeTRADE
646 posts
msg #51270
Ignore SAFeTRADE
4/21/2007 1:44:22 PM

You might try this, probably not exactly what U wanted.

Stock
Fetcher[/* Relative Strength */

set{rs, relative strength(^SPX,126)}
set{rsline, indposition(rs,60) * 100}
set{clsline, indposition(close,60) *100}
add column rs

/* Init Sort */

show stocks where rs is above 0.00
and Average Volume(21) is greater than 500000
and stock type is ETF
and sort column 5 descending
and chart-length is 2-years


draw rsline on plot clsline
]



curmudgeon
103 posts
msg #51302
Ignore curmudgeon
4/24/2007 12:48:45 AM

Thanks. That's an interesting way to do it. Ya gotta love stockfetcher.

StockFetcher Forums · General Discussion · Draw ^spx on chart with stock<< >>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.