| 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 
 
 
 
 
 | 
| 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.
 
 
 
 
 
 
 | 
| 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!
 
 
 |