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.
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.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