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.
|
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
|
Cheese 1,374 posts msg #153481 - Ignore Cheese |
8/9/2020 12:05:16 AM
|
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 581 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.
Stocks whose Bollinger Width was at a 6-month low five days ago and increasing since.
|
miketranz 961 posts msg #153488 - Ignore miketranz |
8/9/2020 6:35:44 PM
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
|
JoeyVinyl 125 posts msg #153499 - Ignore JoeyVinyl |
8/10/2020 6:11:16 PM
@Cheese
That second one looks good. Thanks!
|