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.
Bad Scan Results
Comments
-
Same answer as before. Test MACD for bearish, if that's not true (in other words, MACD is bullish), you'll get results for the "or" conditions if any are true.
Of course, the easiest way is to run a separate scan for MACD is bullish for SPX. If you don't get a result, don't run the other scan(s).0 -
Yes, thanks. I think that I'll just run both scans.0
-
A buyable gap up should be at least .75 times a stocks 40 day ATR. I think that this one is easy to code but I'm having a little trouble today? [Close > ATR(40,Close)*1.75] I assume that the scan default time period for ATR is 14? Anyway, how does that look?0
-
As I try to work on this one the scan auto response says "wrong parameter count for atr, requires 1" and I don't know what it's telling me?0
-
ATR(x) only takes one parameter, which has to be a number. So adding "close" kicks out an error.
I think you want
and [ open - 1 day ago close > 1 day ago ATR(14) * 1.75]0 -
Yes, I think I see it now. I think that your right about what I want.0
-
On second though, I think that is not correct either, I am looking for a gain in price that is at least 1.75 times greater than the 40 day average of its ATR0
-
[ open - 1 day ago close > ATR(40,Close)*1.75]0
-
The simple moving average function is sma(x, y). X is the length of the average, y is whatever you want to average, usually the close, but it can be anything, like an indicator.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