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.
Need Help - Building a new scan using SPY or $SPX as a filter

in Scanning
I got stuck in building a scan using SPY (or $SPX) as a filter.
1) The close the SPY is above EMA (50) + 2 ATR (20)
2) The close of the stock is the highest of the last 50 days. I guess MAX function shall do the purpose.
3)Average daily dollar volume over the last 20 days is > $50M. I willuse liquidy formula to prescribe the condition
Appreciate if anyone can provide me with guidance.
1) The close the SPY is above EMA (50) + 2 ATR (20)
2) The close of the stock is the highest of the last 50 days. I guess MAX function shall do the purpose.
3)Average daily dollar volume over the last 20 days is > $50M. I willuse liquidy formula to prescribe the condition
Appreciate if anyone can provide me with guidance.
0
Best Answer
-
Scan conditions have to be true for all symbols in the scan universe (all symbols by default, or symbols that meet some criteria you have specified, e.g. [group is sp500], [group is IndustrialSector], [market cap > 10000], etc.]
If you specify a symbol in the scan = e.g. [symbol is SPY] and [ema(50) > ....] , then the scan will only look at SPY because that is the only symbol that satisfies that condition.
So, you would have to use 2 scans, one for SPY alone to see if it meets your condition, and then a second scan against whatever universe you choose for the remainder of your conditions.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