streaks is a generic function. It computes
series of uninterrupted up and down movements in a
price series. Uninterrupted is meant in the sense
that no countermovement of down (up)
percent or more occurs in up (down) movements.
There are methods for numeric vectors, and
NAVseries and zoo objects.