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.
Writing a scan using "over 30 days"

in Scanning
Guys, need a bit of help.
I am trying to write a simple scan finding stocks that are above the CMF 0 line for more than 30 days. How do I write the "more than 30 days"? Can't seem to find my answer any where or I am just not seeing it.
Thanks in advance for the help.
I am trying to write a simple scan finding stocks that are above the CMF 0 line for more than 30 days. How do I write the "more than 30 days"? Can't seem to find my answer any where or I am just not seeing it.
Thanks in advance for the help.
0
Best Answer
-
I would first start with a review of the scanning tutorials and then review some of the example scans, that should give you lots of ideas.
http://stockcharts.com/school/doku.php?id=chart_school:scanning:tutorial
Now to get you on the fast track, you need to use the Min/Max over time function. Here's an example, we are looking for the Min value, over the last 30 trading days, of CMF(20), to be greater than 0.
[type = Stock]
and [Min (30, CMF(20) )> 0.0]0
Answers
-
Thanks Gordo. I had " and [ CMF (20) > Min (30)]. I really appreciate the help.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