StockFetcher Forums · General Discussion · how to filter 2 consecutive close above upper BB<< >>Post Follow-up
ronbary
16 posts
msg #105646
Ignore ronbary
3/24/2012 6:16:02 PM

Hello Support

i want to know how to write filter for
stocks that closing 2 consecutive days above UPPER Bollinger Band (20,2)


thanks


Ron

Kevin_in_GA
4,553 posts
msg #105647
Ignore Kevin_in_GA
3/24/2012 9:13:04 PM

Hello Support

i want to know how to write filter for
stocks that closing 2 consecutive days above UPPER Bollinger Band (20,2)
+++++++++++++++++++++++

Easy - use the count function

Fetcher[

count(close above upper Bollinger band(20,2),2) above 1

]



ronbary
16 posts
msg #105656
Ignore ronbary
3/25/2012 12:36:48 PM

thanks

so your Count return also stocks that close above upper BB more then 2 days in a row

if i want to find just 2 days in a row ?

before 2 days the price was below the upper BB

thanks

Ron

Kevin_in_GA
4,553 posts
msg #105659
Ignore Kevin_in_GA
3/25/2012 3:23:46 PM

YOU CAN DO THIS SEVERAL WAYS:

Fetcher[

COUNT(CLOSE ABOVE UPPER BOLLINGER BANDS(20,2),2) ABOVE 1
COUNT(CLOSE BELOW UPPER BOLLINGER BANDS(20,2),3) ABOVE 0

]



OR

Fetcher[
CLOSE ABOVE UPPER BOLLINGER BANDS(20,2)
CLOSE 1 DAY AGO ABOVE UPPER BOLLINGER BANDS(20,2) 1 DAY AGO
CLOSE 2 DAYS AGO BELOW UPPER BOLLINGER BANDS(20,2) 2 DAYS AGO

]



StockFetcher Forums · General Discussion · how to filter 2 consecutive close above upper BB<< >>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 2016 - 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