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.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
