| tylercabral 23 posts
 msg #158710
 - Ignore tylercabral
 | 3/2/2022 9:04:33 PM 
 I'm embarrassed I can't write this myself as someone who tinkers with R.
 
 I'm basically looking for a filter that is looking for the following 2 conditions that both occur on a day.  If it can look back a week or 10 days and return all stocks that have hit these conditions that would be great:
 
 1. volume 200% over the 10 day average
 2. volume of 5 mil shares+
 
 I feel like this probably easy to create.  I can make this for a single day, however I can't seem to write a filter that will look back over a week and return the stocks that have these conditions.  Thank you for the help!
 
 
 | 
| compound_gains 225 posts
 msg #158711
 - Ignore compound_gains
 | 3/2/2022 9:52:50 PM 
 
 
 
 
 | 
| xarlor 619 posts
 msg #158712
 - Ignore xarlor
 modified
 | 3/2/2022 9:58:51 PM 
 
 
 
 
 | 
| miketranz 978 posts
 msg #158713
 - Ignore miketranz
 modified
 | 3/2/2022 10:00:38 PM 
 
 
 
 
 | 
| Mactheriverrat 3,173 posts
 msg #158714
 - Ignore Mactheriverrat
 | 3/2/2022 10:40:50 PM 
 @ tylercabral
 Nothing to be embarrassed about. It will come to you in time.
 
 
 | 
| tylercabral 23 posts
 msg #158723
 - Ignore tylercabral
 | 3/4/2022 2:00:47 PM 
 Holy cow I am humbled and appreciative!  Thank you so much for this help!  There is no way I could have gotten this based on the answers, but I will continue learning and trying :D
 
 
 |