While every confined range will contain at least 1 , this indicator differs from the Finder which only finds consecutive inside bars.
This indicator includes options such as:
- The minimum number of confined within the range of a previous to trigger the indicator
- Labels to indicate the number of confined candles
- Signal lines to indicate the high and low of the containing
Try out this indicator with different options on different timeframes to see if confined ranges increase the probability of identifying the direction of price movements. Breaks or closes outside signal lines can be used to trigger trade signals.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.