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.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area
