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.
Scans vs alerts?

in Scanning
Any reason this doesn’t work?
[type is stock] and [sma(20,volume) > 40000]
and [CCI(20) > 100.0]
and [yesterday’s CCI(20) > 200.0]
Works fine without yesterday in it
Greg
[type is stock] and [sma(20,volume) > 40000]
and [CCI(20) > 100.0]
and [yesterday’s CCI(20) > 200.0]
Works fine without yesterday in it
Greg
0
Comments
-
For some reason, the scan engine doesn't interpret your apostrophe as an apostrophe. Did you copy in the text from another editor or word processor?
You could delete the line and type it in again by hand instead of copy/pasting, or you can use "1 day ago" in place of "yesterday's", or you can just use "yesterday" without the " 's ".
If you are not using the Advanced Editor in the scan window, turn it on. It will give you an error message that is usually pretty accurate. In this case it said "Unidentified text - ' ".0 -
Hmmmm. I’ve use yesterday’s plenty of times. I typed it in again and it still failed. Yesterday works well, both as Alert and as a Scan. Thanks0
-
when it re-type in yesterday's it works for me. Or if I take the apostrophe out and put it back in, it works for me.
Most of the Predefined Scans and Alerts use Yesterday's to trip the change.
My SOP is to use 1 days ago for ease of editing nested scans.
No idea why that is happening to you purrfessor.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