Your question is best analysed in the frequency domain, not the time domain. Traders insist on doing their analysis in the time domain because the frequency domain tools are rarely available, and perhaps as a result, are less instintive and less understood.Quote from travis:
... I just wanted to know how you could measure (short frame range, rsi...?) the fact that price keeps on bouncing against a given level, rather than moving for long runs, one way or the other...
I recommend you make a study of the autocorrelation of a signal.
http://en.wikipedia.org/wiki/Autocorrelation
It is a time-domain tool that will likely give you the measure you want, or at least start you thinking along the right lines as to other possible tools that may give you what you want. However, you should think about using frequency domain tools too.
If you take anything from this post, is that you free yourself from the time domain when subjecting a time-series to analysis.
nitro