| fender967 4 posts
 msg #135497
 - Ignore fender967
 | 4/18/2017 8:33:56 PM 
 I am trying to make a filter that looks at stocks that have a certain bollinger band for say, 5 weeks in a row. If I use something like this:
 
 and Upper Bollinger Band(21,2) 1 week ago Below Upper Keltner Band(21,1.5) 1 week ago
 and Lower Bollinger Band(21,2) 1 week ago Above Lower Keltner Band(21,1.5) 1 week ago
 and Upper Bollinger Band(21,2) 2 week ago Below Upper Keltner Band(21,1.5) 2 week ago
 and Lower Bollinger Band(21,2) 2 week ago Above Lower Keltner Band(21,1.5) 2 week ago
 and Upper Bollinger Band(21,2) 3 week ago Below Upper Keltner Band(21,1.5) 3 week ago
 and Lower Bollinger Band(21,2) 3 week ago Above Lower Keltner Band(21,1.5) 3 week ago
 and Upper Bollinger Band(21,2) 4 week ago Below Upper Keltner Band(21,1.5) 4 week ago
 and Lower Bollinger Band(21,2) 4 week ago Above Lower Keltner Band(21,1.5) 4 week ago
 and Upper Bollinger Band(21,2) 5 week ago Below Upper Keltner Band(21,1.5) 5 week ago
 and Lower Bollinger Band(21,2) 5 week ago Above Lower Keltner Band(21,1.5) 5 week ago
 
 it uses the 1 day interval for it, so it would only find stocks where the 1 day bb happened to match this 5 weeks in a row.
 
 Is there a way to do this weekly?
 
 
 | 
| Kevin_in_GA 4,599 posts
 msg #135499
 - Ignore Kevin_in_GA
 | 4/18/2017 10:31:03 PM 
 put weekly in front of each referenced indicator - example
 
 weekly Upper Bollinger Band(21,2) 1 week ago below weekly Upper Keltner Band(21,1.5) 1 week ago
 
 also, it is best to also add "chart-display is weekly" so that the price uses weekly bars.
 
 
 | 
| fender967 4 posts
 msg #135509
 - Ignore fender967
 | 4/19/2017 10:29:50 AM 
 Does this not work for hourly?
 
 I am using this code:
 
 
 and hourly Upper Bollinger Band(21,2) Above hourly Upper Keltner Band(21,1.5)
 and hourly Lower Bollinger Band(21,2) Below hourly Lower Keltner Band(21,1.5)
 
 and hourly Upper Bollinger Band(21,2) 1 hour ago Below hourly Upper Keltner Band(21,1.5) 1 hour ago
 and hourly Lower Bollinger Band(21,2) 1 hour ago Above hourly Lower Keltner Band(21,1.5) 1 hour ago
 and hourly Upper Bollinger Band(21,2) 2 hour ago Below hourly Upper Keltner Band(21,1.5) 2 hour ago
 and hourly Lower Bollinger Band(21,2) 2 hour ago Above hourly Lower Keltner Band(21,1.5) 2 hour ago
 and hourly Upper Bollinger Band(21,2) 3 hour ago Below hourly Upper Keltner Band(21,1.5) 3 hour ago
 and hourly Lower Bollinger Band(21,2) 3 hour ago Above hourly Lower Keltner Band(21,1.5) 3 hour ago
 and hourly Upper Bollinger Band(21,2) 4 hour ago Below hourly Upper Keltner Band(21,1.5) 4 hour ago
 and hourly Lower Bollinger Band(21,2) 4 hour ago Above hourly Lower Keltner Band(21,1.5) 4 hour ago
 and hourly Upper Bollinger Band(21,2) 5 hour ago Below hourly Upper Keltner Band(21,1.5) 5 hour ago
 and hourly Lower Bollinger Band(21,2) 5 hour ago Above hourly Lower Keltner Band(21,1.5) 5 hour ago
 
 and Draw EMA(9)
 and Draw MA(50)
 and Do not draw Upper Bollinger Band(21,2)
 and Do not draw Lower Bollinger Band(21,2)
 and Do not draw Upper Keltner Band(21,1.5)
 and Do not draw Lower Keltner Band(21,1.5)
 chart-display is hourly
 
 
 
 | 
| Kevin_in_GA 4,599 posts
 msg #135516
 - Ignore Kevin_in_GA
 | 4/19/2017 11:52:13 AM 
 SF only offers daily and weekly data.  Sorry.
 
 
 |