This script aims to help identify sideways markets. Once price leaves the Box the market will usually start a trending phase. Users can set a percent range to detect markets moving sideways within the range.
Detect sideways markets (green background) vs. trending markets (red background) with this indicator. It makes use of the Bollinger bands % as its base.