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.
I am trying to create a custom relative strength filter using the following equation. Please help.
This does not seem to be applying any filter criteria:
and [70 < [100 * [[0.4*[close/close(13)] + [0.2*[close/close(26)]*2] + [0.2*[close/close(39)]*3] + [0.2*[close/close(52)]*4]]]]]
Basically the expression should perform the calculation and then only include a ticker whose result is greater than 70.
I think I understand that "close" may not be used with the #of week included in these () but I do not know how to perform this function.
Your assistance would be greatly appreciated.
and [70 < [100 * [[0.4*[close/close(13)] + [0.2*[close/close(26)]*2] + [0.2*[close/close(39)]*3] + [0.2*[close/close(52)]*4]]]]]
Basically the expression should perform the calculation and then only include a ticker whose result is greater than 70.
I think I understand that "close" may not be used with the #of week included in these () but I do not know how to perform this function.
Your assistance would be greatly appreciated.
0
Comments
-
close(13), close(26), etc. are not valid expressions (not valid functions) in the scan engine's language. You can explore the scan engine's syntax here:
https://support.stockcharts.com/doku.php?id=scans:reference
I'm guessing you mean the close thirteen days ago, or 26 days ago, etc. You would express that
13 days ago close
26 days ago close
etc.
If you make those substitutions and still don't get results you expect, post the entire scan and we (me and others) will take a look.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