StockFetcher Forums · Filter Exchange · NYHGH and NYLOW<< >>Post Follow-up
mahkoh
1,065 posts
msg #106352
Ignore mahkoh
5/20/2012 6:44:56 PM

I'm trying to plot nyse new 52 week highs and nyse new 52 week lows against eachother.

First attempt:
Fetcher[
symlist(spy)
set{x,ind(^nyhgh,close)}
set{nyhgh,cma(x,10)}
draw nyhgh
set{y,ind(^nylow,close)}
set{nylow,cma(y,10)}
draw nylow on plot nyhgh
add column x{lown}
add column y{hign}
]



Obviously not right, but what in earth is being plotted there below spy??

Checking SF's index library reveals that symbols ^NYHGH and ^NYLOW are not available. I did find two others, NYSE new highs (^hign) and NYSE new lows (^lown). I would assume these to be what I'm looking for.

Fetcher[
symlist(spy)
set{x,ind(^hign,close)}
set{nyhgh,cma(x,10)}
draw nyhgh
set{y,ind(^lown,close)}
set{nylow,cma(y,10)}
draw nylow on plot nyhgh
add column x{hign}
add column y{lown}
]



This looks a lot better than the first attempt, however the values do not correspond with values derived from stockcharts

http://stockcharts.com/h-sc/ui?s=$NYHGH&p=D&b=5&g=0&id=p98893448239

What do ^hign and ^lown than represent? And since they are not new 52 week lows and highs, is there a way to calculate those in SF?



StockFetcher Forums · Filter Exchange · NYHGH and NYLOW<< >>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.