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.
number of positive closes in last 5 days
How would I scan for the number of positive days occurring with latest 5 days
0
Comments
-
The scan engine only returns symbols (with associated data, like sector, industry, SCTR, etc.), not numbers, so you can't ask for a numeric result directly.
But, if you choose a count, you can scan for symbols that meet that condition. So, for instance, if you wanted at least 3 up closes in the last five days, you could write:
and [Count Up(5, close) > 3]
The Count Up function (and several other very useful functions) are documented here:
https://support.stockcharts.com/doku.php?id=scans:functions
0 -
The count up and count down function is the only way to scan for it.
You can also "see" this using the MarketCarpet view. There is a drop down in the upper left of the MarketCarpet and you can select Up Days-Down Days. This will then display the Carpet with the Up/Down information on it.0 -
Thank you. Great answers.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