StockFetcher Forums · General Discussion · dow jones chart vs. individual stock<< >>Post Follow-up
arby347
87 posts
msg #52024
Ignore arby347
6/6/2007 2:13:12 PM

Am I missing something obvious? Is there a way to get the dow jones or S&P 500 index plotted on the charts or on a separate chart?




asr_1981
5 posts
msg #52026
Ignore asr_1981
6/6/2007 2:45:24 PM

Fetcher[SET{DOW,IND(^DJI,CLOSE)}
AND DRAW DOW
SET{DOW50,IND(^DJI,MA(50))}
AND DRAW DOW50 ON PLOT DOW
]



arby347
87 posts
msg #52029
Ignore arby347
6/6/2007 6:25:07 PM

Thanks asr81. The Dow scale from your filter is in the thousands. Is there a way to change it to the hundreds? Also is there a way to have it draw directly on the stock chart itself, although the "y" values are different than the stock's? If not, could SF consider it?

asr_1981
5 posts
msg #52030
Ignore asr_1981
6/6/2007 7:44:18 PM

Fetcher[SET{_DOW,IND(^DJI,CLOSE)}
SET{DOW,_DOW / 100}
SET{_DOW50,IND(^DJI,MA(50))}
SET{DOW50,_DOW50 / 100}
AND DRAW DOW ON PLOT CLOSE
AND DRAW DOW50 ON PLOT CLOSE
]



SAFeTRADE
644 posts
msg #52031
Ignore SAFeTRADE
6/6/2007 10:22:35 PM

You could try this. Not exactly what you asked for, but, Hey. Anyway add this line to your filter.

compare with dia

Might get you close

arby347
87 posts
msg #52067
Ignore arby347
6/7/2007 11:33:14 PM

Thanks asr_81, I see how the DJ scale can change through the divisor within your filter, however the individual stock charts get "flattened" because the scale is the DJIA one.

I tried the line that Safetrade proposes, however there must be a minor typo or something as it has now effect on the chart.

One solution might be to create a transparency of the Dow and overlay it after printing a chart.

It would be nice if SF could add the plot as an option



nikoschopen
2,824 posts
msg #52070
Ignore nikoschopen
6/8/2007 1:18:14 AM

Actually, what SAFeTRADE wrote is largely correct.

Fetcher[
sector is energy
add column sector
add column industry

compare with ^dji
]

You can write "compare WITH ^dji" or "compare TO ^dji" or "compare xhd@#$kfl ^dji" or "compare ANYTHING ^dji", so long as you have the word compare in the filter.

StockFetcher Forums · General Discussion · dow jones chart vs. individual 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.