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.
Volume Scan Filter Help
I would like to add the filter "volume greater than the previous 10 days" to the following Syntax. I tried but could not get it to work. Can someone help?
[type is stock]
AND[country is US]
AND [exchange is NASDAQ]
AND [name not contains 'Fund']
AND [name not contains 'ETF']
AND [name not contains 'ETN']
AND [name not contains 'iShares']
AND [name not contains 'PowerShares']
AND [Today's Low < 1 Day Ago Low]
AND [Today's Close >= Today's High * 0.75] // Close is within 75% of the High
[type is stock]
AND[country is US]
AND [exchange is NASDAQ]
AND [name not contains 'Fund']
AND [name not contains 'ETF']
AND [name not contains 'ETN']
AND [name not contains 'iShares']
AND [name not contains 'PowerShares']
AND [Today's Low < 1 Day Ago Low]
AND [Today's Close >= Today's High * 0.75] // Close is within 75% of the High
0
Best Answer
-
Try this:
and [volume = max(11, volume)]
It helps to think of different ways of saying the same thing. So, "volume greater than the previous ten days" could also be "today's volume is the highest (or maximum) volume in the last eleven days".
You can get a clue to how the scan engine programmers look at different problems by checking out the functions page, and then see if they express in a different way things that you are also thinking of. Sometimes, if you have an original way of looking at things, you have to invent the wheel, so to speak, and come up with your own code, but often somebody has been there before, so you don't.
https://support.stockcharts.com/doku.php?id=scans:functions0
Answers
-
That worked. Thanks for the help.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