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.
Stocks Below 8 Simple Moving Average

in Scanning
How do I scan for stocks for 90 days where the 8 SMA is also below the 20 SMA and the stock price is below the 8 continuously for say 90 days and vice versa.
0
Best Answer
-
Hi Daniel
for 8 below 20:
and [max(90, MACD Line(8,20,0)) < 0.0]
You could also use MACD Hist with the same parameters.
For close below the 8, it would be
and [max(90, MACD Line(1,8,0)) < 0.0]
You can use 1 period moving average as a substitute for the close.
However, I get no hits the 1,8 combination. I think it is probably very rare that the close would stay under such a short MA for such a long time.
This method was pointed out by either Gord or ekwong on the old scan. You may find more under s.c.a.n. archives.0
Answers
-
Thank so much Markd0
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