StockFetcher Forums · Filter Exchange · Need advice on Bollinger Width<< 1 2 >>Post Follow-up
JoeyVinyl
125 posts
msg #153476
Ignore JoeyVinyl
8/8/2020 11:01:43 PM

I'm trying to find stocks that have traded in a narrow range for about a month but are starting to break out. (Aren't we all?) I'm not really knowledgeable about Bollinger Bands but the Bollinger Width indicator seems to be what I need. The problem is I'm not sure I'm using it right. As I understand it, the width is simply the distance between the bands so it if stays within a certain percent, say 1%, it means there's not much happening even if the volume is high. I don't think that's quite right though I can't say why.

Here's what I've got so far, stripped down to the most basic part of the filter. What I want is to find stocks that had a width of less than 1% for about a month but have broken above that in the last 5 days. This doesn't do that, I know, but I can't figure out how to code the line "Bollinger Width(20,2.0) has been < 0.01 for the last 21 days" with a days ago phrase to make it work.

I'm open to changing the width percentage if that will help. I'm open to scrapping this completely if I need to and if someone has a filter that can show stocks trading in a narrow range for about a month then breaking upward out of that range in the last few days.

Thanks for any help.

Fetcher[
set {bw0, Bollinger Width(20,2.0)}
set {bw1, Bollinger Width(20,2.0) 1 day ago}
set {bw2, Bollinger Width(20,2.0) 2 days ago}
set {bw3, Bollinger Width(20,2.0) 3 days ago}

close is above Median Bollinger Line(20,2)
Bollinger Width(20,2.0) has been < 0.01 for the last 21 days
bw0 is > bw1
bw1 is > bw2
bw2 is > bw3

do not draw bw3
do not draw bw2
do not draw bw1
do not draw bw0
draw Median Bollinger Line(20,2)

add column separator
add column bw3
add column bw2
add column bw1
add column bw0
add column separator
add column industry
add column sector
]




Cheese
1,374 posts
msg #153479
Ignore Cheese
8/9/2020 12:03:28 AM

@JoeyVinyl

I've found a couple of examples of Upside Breakout using Bollinger Width by Stockfetcher.
Would they help you?


Cheese
1,374 posts
msg #153480
Ignore Cheese
8/9/2020 12:03:53 AM

Fetcher[
/*
https://www.stockfetcher.com/help/Bollinger-Band-Squeeze/100313
Breakout to the upside:
*/

show stocks where low is above upper bollinger band(20)
and Bollinger Width(20) reached a new 5 week low within the last 5 days
and volume is more than 200% above average volume(30) 1 day ago
]




Cheese
1,374 posts
msg #153481
Ignore Cheese
8/9/2020 12:05:16 AM

Fetcher[
/*
Bollinger Upside Breakout
*/

show stocks where count(Bollinger Width(20,2.0) reached a new 3 month low,5) 1 day ago is above 0
and high crossed above Upper Bollinger(20)
and close is above 3.00
and average volume(30) is above 50000
and count(high crossed above Upper Bollinger Band(20),5) equals 1
and draw MA(200)
]



jimvin
173 posts
msg #153482
Ignore jimvin
8/9/2020 1:33:21 AM

...you might also try adding the "ttm squeeze" to the models above and playing with the results...

set{momo,cema(momentum(16),5)}
add column momo
draw momo
plottype{momo,zerobar}


xarlor
587 posts
msg #153484
Ignore xarlor
8/9/2020 9:25:43 AM

The first filter below is what you asked for. However, if I understand what you're trying to accomplish, the second filter might be closer to that goal. I say that because the width percentage doesn't mean anything when giving an absolute value. You have to compare it to its own past performance.


Stocks who's Bollinger Width is less than 1% for 21 days but has been increasing for last 5 days.


Fetcher[
Bollinger Width(20,2.0) 5 days ago < 0.01 for the last 21 days
Bollinger Width(20,2.0) has been increasing for last 4 days
Bollinger Width(20,2.0) > 0.01


draw Median Bollinger Line(20,2)
add column Bollinger Width(20,2.0) 5 days ago
add column Bollinger Width(20,2.0) 26 days ago

add column industry
add column sector
]




Stocks whose Bollinger Width was at a 6-month low five days ago and increasing since.


Fetcher[
Bollinger Width(20,2.0) 5 days ago at 6 month low
Bollinger Width(20,2.0) increasing for last 5 days

draw Upper Bollinger Band(20,2)
draw Lower Bollinger Band(20,2)

chart-time is 7 months
]



miketranz
969 posts
msg #153488
Ignore miketranz
8/9/2020 6:35:44 PM

Fetcher[Show stocks where high reached a new 90 day high

and close is between .50 and 25 AND DRAW Bollinger Band (20,2.0) %B(20,2.0) and Draw Bollinger Width(20,2.0)
]

Try this one out.Miketranz...

dangreene
229 posts
msg #153489
Ignore dangreene
modified
8/9/2020 7:52:51 PM

Trial Balloon

Fetcher[
/* TSI(50,5,5) BREAKOUT */
= = = = = = = = = = = = = = =

TRIAL FAILED!

graftonian
1,089 posts
msg #153497
Ignore graftonian
8/10/2020 2:21:16 PM

Fetcher[
not otcbb
Bollinger Width(42,2.0) < .01
draw Upper Bollinger Band(42,2)
cma(Bollinger %B(21,2.0), 21) 5 days ago < .25
]



JoeyVinyl
125 posts
msg #153499
Ignore JoeyVinyl
8/10/2020 6:11:16 PM

@Cheese

That second one looks good. Thanks!

StockFetcher Forums · Filter Exchange · Need advice on Bollinger Width<< 1 2 >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.