[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AFL to count Number of Trues within a period



PureBytes Links

Trading Reference Links

Can someone help me to write:

AFL to count the number of trues within a period. For instance a 
variable A toggles between 1 and 0. I want to count the number of 
times it toggles within 21 bars.

thanks