StockFetcher Forums · General Discussion · How to: Price at upper bollinger while the bollinger bends down<< >>Post Follow-up
rg12
7 posts
msg #108987
Ignore rg12
11/25/2012 2:17:30 PM

Also i want to do this for the lower bollinger while the lower bend
starts to head up while the.price is stretching or at the bend

Thanks,
Roi

mahkoh
1,065 posts
msg #108988
Ignore mahkoh
modified
11/25/2012 2:48:09 PM

Fetcher[
S&P 500
3 day slope of upper bollinger band(20,2) below 0
set{x,price/upper bollinger band(20,2)}
x between 0.995 and 1.005
]



If you want the upper bb to turn down after having been sloping up:
Fetcher[
S&P 500
count(3 day slope of upper bollinger band(20,2) below 0,3) above 2
count(3 day slope of upper bollinger band(20,2) above 0,10) above 6
set{x,price/upper bollinger band(20,2)}
x between 0.995 and 1.005
]



Kevin_in_GA
4,599 posts
msg #108990
Ignore Kevin_in_GA
11/25/2012 4:27:27 PM

Since the bands are actually converging and diverging with respect to the MA, you could use that as a way to screen as well. The "turn down of the upper BB" is in reality a converging of the two BB's, which may reflect lower volatility ahead of a move in price.

rg12
7 posts
msg #108992
Ignore rg12
11/25/2012 4:59:48 PM

Thanks alot man!
I tried changing the words 'upper' to 'lower' in the code to get the results for
the lower bollinger but i didn't get any results...Did i miss something or because the market is
going up the last few days i don't see any stocks in the lower bollinger?

Also, why when i took out the s&p500 from the code i got more stocks that are not accurate
and not touching the bollinger like the whole code has changed?

mahkoh
1,065 posts
msg #109006
Ignore mahkoh
modified
11/26/2012 1:48:51 PM

When changing "upper" to "lower" you should also change "above" to below" and vice versa. Exept for the last "above" in the count functions. Removing S&P 500 shouldn't do anything but broaden your selection to all stocks.

rg12
7 posts
msg #109020
Ignore rg12
11/27/2012 5:06:53 AM

What's wrong with my code?

1 day slope of lower bollinger band(20,2) above 0
set{x,price/lower bollinger band(20,2)}
x between 0.995 and 1.005
and average volume(5) is above 800000

This and also the reversed version you wrote for me works almost 100% when the average
volume limit is set to min 800,000 but when i drop it to about 500,000 i get many more
stocks (obviously) but all the lower volume stocks that were added are far from the bollinger band,
more like in the middle range of it.

Why is that?

StockFetcher Forums · General Discussion · How to: Price at upper bollinger while the bollinger bends down<< >>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.