StockFetcher Forums · General Discussion · bollinger band<< >>Post Follow-up
schneider@smprfi.us
9 posts
msg #142431
Ignore schneider@smprfi.us
2/24/2018 4:13:03 PM

Hi guys,

I have another dumb question. This code seems rather straight forward but for some reason i'm getting many stocks that don't meet the criteria:

stocks where the days high has crossed above upper bollinger band 2 times in the last 7 days

Show stocks where (high 1 day ago crossed above upper bollinger band (20), 7) is 2]

Any insight would be appreciated. Much thanks!

Josh

emwalker
35 posts
msg #142432
Ignore emwalker
2/24/2018 4:23:48 PM

Fetcher[count(high crossed above upper bollinger band(20,2), 7) is above 1]



schneider@smprfi.us
9 posts
msg #142433
Ignore schneider@smprfi.us
2/24/2018 4:27:19 PM

Thank you Emwalker!

schneider@smprfi.us
9 posts
msg #142435
Ignore schneider@smprfi.us
2/24/2018 4:40:35 PM

For some reason the filter is giving me stocks that have crossed upper bollinger band (20) more than 2 times

emwalker
35 posts
msg #142436
Ignore emwalker
modified
2/24/2018 4:46:24 PM

It doesn’t seem to work if you say count is 2. You may have to say count is below 3 and above 1. This looks like it works. One thing to consider is that it counts when the high CROSSES the upper band. So if it opens above the band, the high isn’t technically crossing it.

Fetcher[count(high crossed above upper bollinger band(20,2), 7) is below 3
count(high crossed above upper bollinger band(20,2), 7) is above 1
add column count(high crossed above upper bollinger band(20,2), 7)
]




schneider@smprfi.us
9 posts
msg #142440
Ignore schneider@smprfi.us
2/24/2018 5:30:25 PM

This one seems to work well. Thank you for your help!

StockFetcher Forums · General Discussion · bollinger band<< >>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.