danv83 44 posts msg #55103 - Ignore danv83 |
9/23/2007 11:39:06 PM
I would like to measure how many consecutive days a condition has been met over a given period. Is there a way to do this currently in Stock Fetcher? It would be nice to have this information, also it would be useful to see what the maximum consecutive days something has been true or false in a given period of time.
I'm imagining something like the following;
Consecutive(close above close one day ago, 30) /* would return the count for the most recent consecutive activity in the past 30 days */
MaxConsecutive(close above close one day ago, 30) /* would return the count for the longest span of consecutive activity in the past 30 days */
|