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.
Strange result from Scanning
Hi all,
I scan strong momentum stock using the following script:
[close >= All Time High *.75]
and [type is stock]
and [country is US]
and [SCTR.mid >90]
And one of the hit is a stock called MOMO Inc with SCTR 98.8
However, if I reduce the stringent of the above script (i.e. instead of “All Time High”, I only need to scan stock with price not lower than 75% of its max close (in the past 4 years). The script as follows:
[close >= yesterday's daily max(1000,daily close) *.75]
and [type is stock]
and [country is US]
and [SCTR.mid >90]
However, this time, strangely, the stock MOMO Inc was skipped and cannot be scanned out. I look at the SharpChart and MOMO is at its All Time High with ACTR=98.8.

Hope any user can enlighten me why "[close >= yesterday's daily max(1000,daily close) *.75]" will skip MOMO Inc.
Many thanks in advance.
I scan strong momentum stock using the following script:
[close >= All Time High *.75]
and [type is stock]
and [country is US]
and [SCTR.mid >90]
And one of the hit is a stock called MOMO Inc with SCTR 98.8
However, if I reduce the stringent of the above script (i.e. instead of “All Time High”, I only need to scan stock with price not lower than 75% of its max close (in the past 4 years). The script as follows:
[close >= yesterday's daily max(1000,daily close) *.75]
and [type is stock]
and [country is US]
and [SCTR.mid >90]
However, this time, strangely, the stock MOMO Inc was skipped and cannot be scanned out. I look at the SharpChart and MOMO is at its All Time High with ACTR=98.8.

Hope any user can enlighten me why "[close >= yesterday's daily max(1000,daily close) *.75]" will skip MOMO Inc.
Many thanks in advance.
0
Comments
-
I'm pretty sure it is because MOMO hasn't traded 1000 bars yet. That won't happen until December this year. Without 1000 bars of data, the scan engine can't calculate a numerical value for daily max(1000, daily close) to compare to today's close, so it can't say that statement is true, so it skips the symbol.
0 -
Thanks Markd again. I see. This is very reasonable. This is a little trick I need to remember when using the scan function.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