New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Price within percentage of yearly high?

in Scanning
Hello,
I'm a new user trying to figure out how to scan for stocks within a % of the 52 week high.
I use Stockfetcher (but am interested in switching); the code at that site is relatively simple: "close is greater than 75% of the 52 week high"
Any help would be appreciated duplicating this at StockCharts.
I'm a new user trying to figure out how to scan for stocks within a % of the 52 week high.
I use Stockfetcher (but am interested in switching); the code at that site is relatively simple: "close is greater than 75% of the 52 week high"
Any help would be appreciated duplicating this at StockCharts.
0
Comments
-
One way to do it might be
[exchange is NYSE]
and [close > max(251, high) * .75]
(assuming 251 trading days in a year)
Or, you could do it
and [ weekly close > max(52, weekly high) * .75]
Stockcharts code looks a lot more like "real" code than the plain english text in your example. That probably scares some people away, but it shouldn't. The scan tool has drop downs and auto-suggest to help newbies get up to speed and the tutorials are also very complete and straightforward.
There is a learning curve, but the reward is exceptional flexibility is specifying exactly the kinds of situations you want to look at. That can save A LOT of time reviewing results. You can limit your searches not only by indicator conditions, but also by market cap, by sector or industry, by country, by exchange and many other characteristics (has options, pays a dividend, etc.) Stockcharts also has a ranking system so you can scan for only top-performing stocks (or worst-performing, if you are a bottom fisher).
Check out the scanning pages in Chart School
https://support.stockcharts.com/doku.php?id=scans:library
https://support.stockcharts.com/doku.php?id=scans:tutorials
https://support.stockcharts.com/doku.php?id=scans0
Categories
- All Categories
- 2.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area