FLAT SMA200
in Scanning
Hi everyone!
How can I scan for a flat SMA200 line for at least more than a week???
thanks for help!
How can I scan for a flat SMA200 line for at least more than a week???
thanks for help!
0
Best Answer
-
Is there a way to scan for a flat SMA 200 that is "flat" within a 10% range?0
Answers
-
By "flat" you mean equal in value for more than 5 days? Today's SMA200 = 1 day ago SMA200 and 1 day ago SMA200 = 2 days ago SMA200 and 2 days ago SMA200 = 3 days ago SMA200, etc, etc, etc. For that to happen you'd need a miracle, or a stock that doesn't move much over 200 days.
Sounds like a you might need a range. The link explains how to write code for establishing flat or consolidation.
https://stockcharts.com/docs/doku.php?id=scans:advanced_scan_syntax:consolidation_breakouts0 -
Thanks for your answer!
really appreciated.0 -
I think if you use the min/max function as described in the link in the previous answer and substitute sma(200, close) for close it should work.
You have to decide how long the 10% range is (number of days you want). Then you want 1.1 and .9 for multipliers.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

