| 
Rank: Newbie
 Groups: Registered, Registered Users, Unverified UsersJoined: 11/30/2013(UTC)
 Posts: 5
 Location: Tasmania - Australia
 
 | 
            
	      
                Say for a 52 week high explorer on weekly data.
 I want to only look at securities that have at least 100 weeks of data available - how can I code that? I tried BarsSince() but it seems messy. Cheers, Andrew 
 | 
    | 
             | 
            
         | 
    |  | 
        
        
        
            
        
            
            
    | 
Rank: Advanced Member
 Groups: Moderators, Registered, Registered Users, SubscribersJoined: 10/8/2010(UTC)
 Posts: 1,999
 
 Thanks: 96 timesWas thanked: 159 time(s) in 154 post(s)
 
 | 
            
	      
                Originally Posted by: Andrew7267  Say for a 52 week high explorer on weekly data.
 I want to only look at securities that have at least 100 weeks of data available - how can I code that? I tried BarsSince() but it seems messy. Cheers, Andrew 
 Hello, You might be able to try something like Cum(1)>=50 which essentially cumulates a "true" condition on each data point. Any security with less than 50 data points should then get sent to the Rejects tab of the report. | 
    | 
             | 
            
         | 
    |  | 
        
        
        
    
                           
    
| Users browsing this topic | 
| 
Guest (Hidden) | 
    
        Forum Jump
         
    
    You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.