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.
Slope of Moving Average
Comments
-
two ways I can think of:
[group is sp500]
and [Slope(5, sma(5,close)) > 0]
Another way:
and [sma(5, close) > 5 days ago sma(5, close)]
A possible problem you might run into is that the MA has turned down, but not yet gone below its starting value - that would give you a positive slope but the turn may already be under way.
To eliminate those, also check for a more recent value:
and [sma(5,close) > 1 day ago sm(5, close)]
That tells you the rise is still on.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