Help me in debugging this script (picking up wrong stocks)
I run RSI2 scan from the stockcharts blog (script is below). I dont understand, why it is picking the funds(TLT,IEF,BABS.L), when I said [type=stock] at the beginning.
[type = stock] AND [Daily SMA(20,Daily Volume) > 400000] and [High > 2]and [Close > 1] and [today's SMA(20,volume) > 40000] and [today's SMA(60,close) > 20] and [today's close > today's SMA(200,close)] and [5 x today's rsi(2)]
Thanks
[type = stock] AND [Daily SMA(20,Daily Volume) > 400000] and [High > 2]and [Close > 1] and [today's SMA(20,volume) > 40000] and [today's SMA(60,close) > 20] and [today's close > today's SMA(200,close)] and [5 x today's rsi(2)]
Thanks
0
Best Answer
-
I'm guessing because they trade like stocks (unlike say, mutual funds).
This edited version will eliminate the etfs and find only US stocks (if that's what you want):
[type = stock]
and [country is US]
and [group is not ETF]
AND [Daily SMA(20,Daily Volume) > 400000]
and [High > 2]and [Close > 1]
and [today's SMA(20,volume) > 40000]
and [today's SMA(60,close) > 20]
and [today's close > today's SMA(200,close)]
(note: the bolded line probably has to be typed into your scan, not cut and pasted)0
Answers
-
Thanks Mark0
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
