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.
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.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