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.
Wrong syntax?
Hi!
Just now I ran the following scan:
[type = stock]
AND
[country is US]
AND
[[exchange is NYSE] OR [exchange is NASDAQ]]
AND
[optionable is true]
AND
[volume > 1000000]
AND
[[close * 1.05] X EMA(20)]
I expected the scan to show the stocks for which yesterday's closing price plus 5% crossed over the EMA(20).
But, here's one of the results:
Range Resources (NYSE: RRC)
Yesterday's EMA(20) = 14.16
Yesterday's closing price = 13.63
What's wrong?
Thank you!
Doctor T
Just now I ran the following scan:
[type = stock]
AND
[country is US]
AND
[[exchange is NYSE] OR [exchange is NASDAQ]]
AND
[optionable is true]
AND
[volume > 1000000]
AND
[[close * 1.05] X EMA(20)]
I expected the scan to show the stocks for which yesterday's closing price plus 5% crossed over the EMA(20).
But, here's one of the results:
Range Resources (NYSE: RRC)
Yesterday's EMA(20) = 14.16
Yesterday's closing price = 13.63
What's wrong?
Thank you!
Doctor T
0
Comments
-
seems to be right
yesterday 2/13
ema 20 = 14.21
close = 13.14 x 1.05= 13.80; below ema
today 2/14
ema 20 = 14.16
close = 13.63 x 1.05 = 14.31; above ema
or did I miss something?0 -
Dear Mark D,
Thank you for your reply.
Oops! I meant to identify stocks for which the closing share price crossed over the EMS (20) plus a percentage.
I should have written [close X [EMA(20)*1.05]]
Today I lowered the percentage to 3% and, to identify NEW crossovers, I added [yesterday's close < EMA(20)] and it appears to be working.
Doctor T
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