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
If you want the upper bb to turn down after having been sloping up:
|
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?
|