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.
Wording for monthly sma cross scans?
Is this wording correct for scans that search for crosses of price and monthly sma's?
[group is sp500] and
[[monthly close x monthly sma(5, close)] or
[monthly close x monthly sma(10, close)] or
[monthly close x monthly sma(14, close)]]
[group is sp500] and
[[monthly close x monthly sma(5, close)] or
[monthly close x monthly sma(10, close)] or
[monthly close x monthly sma(14, close)]]
0
Comments
-
Yes, but...
When you run a monthly scan in the middle of the month, the scan engine will use the current close as the "monthly close".
If you run the scan intraday (Starting 0 days before the Last Intraday Update 1:03 pm, for instance), it will treat the close value at that time as the end of month value.
So, you need to use the calendar pop up (click on the "0" in Starting 0 days...) to select the last day of the prior month to get expected results - or wait for the close on the last day of the current month.
Your "or" brackets are correct.0 -
Thanks for your help!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