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.
Need help with a SCAN .... what is the difference between these two "Rank by ...." clauses ....
These clauses are part of a larger scan ....
"Rank by [[Close - EMA(50)] / EMA(50)] * 100" .... Advanced scan syntax says this a a correct clause .... but .... and it does work ....
"Rank by [[Weekly Close - Weekly EMA(50)] / Weekly EMA(50)] * 100" ....Advanced scan syntax say this is not a correct clause ....
Can anyone tell me why the Weekly version will not work? ....
Thanks ....
"Rank by [[Close - EMA(50)] / EMA(50)] * 100" .... Advanced scan syntax says this a a correct clause .... but .... and it does work ....
"Rank by [[Weekly Close - Weekly EMA(50)] / Weekly EMA(50)] * 100" ....Advanced scan syntax say this is not a correct clause ....
Can anyone tell me why the Weekly version will not work? ....
Thanks ....
0
Best Answer
-
Rank by [[weekly close-weekly EMA(50)] /weekly EMA(50)] * 100
This seems to work. I don't think caps has anything to do with it. But the "rank by" statement seems to be very sensitive to spaces. This version just takes out the spaces between "weekly" and the brackets and the operators (-, /) and that seems to do the trick. I couldn't test it because I'm using my results page for something else right now - but it should work.0
Answers
-
Thanks markd .... never considered the spacing would be a problem ....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