about small swapping in an Up/Down trend

In a single up/down trend, there is usually some small swapping, I want to define this swapping and follow it by some arithmatic?
do you have some good arithmatic?
Thanks!
 
Back
Top