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.
Bollinger band tight range

in Scanning
Hi,
I'm looking for a tight range Bollinger band squeeze or just a flat consolidation between 8-14 days.
Best Regards,
Max.
I'm looking for a tight range Bollinger band squeeze or just a flat consolidation between 8-14 days.
Best Regards,
Max.
0
Comments
-
https://stockcharts.com/school/doku.php?id=chart_school:trading_strategies:bollinger_band_squeeze
see the very bottom of the page
You could also try the min( ) and max( ) functions to specify a range over some number of days. You can search Help for how to use min( ) and max(). If your run into a problem, post what you have.0 -
[type = stock] AND [Daily SMA(20,Daily Volume) > 40000]
and [BB Width(20,2) < 6] Here I want the last 15 days to be below 6
and [country is US]
and [volume > 200,000]0 -
If you order it this way, it will run faster:
[country is US]
and [type = stock]
and [Daily SMA(20,Daily Volume) > 40000]
and [volume > 200,000]
and [BB Width(20,2) < 6]
You want to put the BBWidth indicator inside the max( ) function.
The max( ) function is documented here:
https://stockcharts.com/docs/doku.php?id=scans:functions
The first term inside the parens is the look back period (for you, 15). The second term is the value to look at - for your BB Width(20,2).
Some of its uses and coding examples are here:
https://stockcharts.com/docs/doku.php?id=scans:advanced_scan_syntax:min_max_scans
0 -
thanks a lot here is the scan :
[country is US]
and [type = stock]
and [Daily SMA(20,Daily Volume) > 40000]
and [volume > 200,000]
and [max(30,BB Width(20,2)) < 6]
and [group is not ETF]0 -
Looks good. I would re-order it this way - always putting the descriptive things first (country, type, group, list, etc.) and the calculations last. And if you are really into it, simplest calculations first, then the more complicated. Not required, but more efficient for the scan engine and easier to read and edit when there is a problem or you want to make changes.
[country is US]
and [type = stock]
and [group is not ETF]
and [Daily SMA(20,Daily Volume) > 40000]
and [volume > 200,000]
and [max(30,BB Width(20,2)) < 6]
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