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