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.
How to make a tight range scan?
Comments
-
This is a little complicated and you might have to play with it to get results you like. As is, it gets mainly preferred or bond-like instruments and financial ETFs. I think that's because of the 2% parameter.
Anyway, the idea is, if the stock is in a range, at least one of the price channels (upper or lower) should be flat.
(It doesn't have to be that way I suppose. You could test for channels converging (upper less than (or equal to!) some period ago, and lower higher than (or equal to) some period ago, and test of for the max upper less than the min lower plus some per cent ( lower *1.02, *1.05, or whatever)).
This tests for price in a range near the flat channel.
[exchange is NYSE]
and
[
[ [Upper Price Chan(30) = 20 days ago Upper Price Chan(30)]
and [min(20, low) > Upper Price Chan(30) * .98] ]
or
[ [Lower Price Chan(30) = 20 days ago Lower Price Chan(30)]
and [max(20, high) < Lower Price Chan(30) * 1.02] ]
]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