Take a look at crossUnder and crossOver functions

If you want to count them in the past you will also want Bar() too

cheers,
BobbyT