Mactheriverrat 3,157 posts msg #161273 - Ignore Mactheriverrat |
7/25/2024 10:14:18 PM
@Snappy
Try this code here on this filter.
/* low5 is number of consecutive days low5 above (+)/below(-) previous low5 */
set{low5b,days( low is above low 5 day low one day ago ,250)}
set{low5a,days( low is below low 5 day low one day ago,250)}
set{low5, low5a - low5b} and add column low5 {low5}
Set{cntlow5abovelow5,count( low > low 5 day low one day ago,1)}
draw cntlow5abovelow5
Set{cntlow5abovelow5b,count( low < low 5 day low one day ago,1)}
draw cntlow5abovelow5b
|