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.
Low of Previous Years
Comments
-
Just to be clear, I'm not searching for stocks that have revisited the old lows of 2016(or any past year), but rather had broken those lows since and have rallied back up to that point.
So i need a way to just get the low of that year alone all together.0 -
The value of a calendar year's low would be min(251,low) as of the last trading day of that year. So, each time you run the scan, you would have to figure out how many trading days had elapsed since the end of that year.
Then you would look for a close some time in the more recent past (since that year end) that is less than that low by some amount (per cent), and a current price that is some smaller per cent below that min 251 low.
So, assuming the last day of the trading year of interest was 60 days ago, it might be something like
// recent price has been more than 15 per cent below annual low
and [30 days ago close < 60 days ago min(251, low) * .85]
// current price is below annual low
and [close < 60 days ago min(251,low)]
// current price is less than 5 per cent below annual low
and [ close > 60 days ago min(251, low) * .95]
0
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