Is there an indicator that helps indicate consolidation?

I want to exit a trade once the trade slows down, moves sideways or backwards. 


Does anyone know of an indicator that will help with that?

Research BB squeeze.
William Roeder:
Research BB squeeze.

Thanks William. I need to look into what the Bollinger Band Squeeze can actually do for me. I am currently using EMAs and ADXs.