Within 1% of 200SMA
Comments
-
This is between 1% above and 1% below the sma.
and [close < sma(200,close) *1.01]
and [close > sma(200,close) * .99]
Note you need both an upper limit statement and a lower limit statement.
If you just say
and [close < sma(200,close) *1.01]
the result will be anything less than 1% above the sma - so it could be a close 20% below the sma because that is less than 1% above it.
If you want results ONLY above (greater than) the 200 MA, then the lower limit statement would be
and [close > sma(200, close)]
0 -
Thank you Mark, works perfect!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
