![Candle Range Detector [UAlgo] chart preview](/_next/image?url=%2Fmedia%2Ffull%2F29294.png&w=3840&q=90&dpl=dpl_Jt27hmzh6tNsGuJ13vyBBWgv8XSW)
A Pine Script indicator that identifies price consolidation and potential breakouts by analyzing candle ranges, calculating take profit and stop loss levels dynamically.
Explore complementary indicator rolesHow it works
The Candle Range Detector works by first establishing a price range based on a configurable number of previous candles. It analyzes each subsequent candle to determine whether it falls within this predefined range, tracking periods of price consolidation.
Once a potential consolidation zone is identified, the indicator then looks for breakouts above or below the established range. It can detect breakouts based on either close price or candle wicks, providing traders with visual signals about potential price movement transitions.
Why it may be useful
This indicator helps traders identify key market conditions where price is temporarily stagnant, which often precedes significant price movements. By highlighting consolidation zones and potential breakout points, it provides traders with valuable insights into market dynamics and potential trading opportunities.
The ability to automatically calculate take profit and stop loss levels adds an extra layer of strategic planning, helping traders manage risk and potential reward more systematically. Its flexibility in using percentage or Average True Range methods for level calculation makes it adaptable to different trading styles and market conditions.
When to explore it
The Candle Range Detector is most effective in markets experiencing periods of consolidation before potential trend changes or breakouts. It works particularly well in markets with clear ranging behavior, such as during sideways market conditions or when price is trapped between key support and resistance levels.
Traders should use this indicator in conjunction with other technical analysis tools to confirm signals and reduce false breakout risks. It is especially useful for short-term traders looking to capitalize on quick price movements following periods of price compression.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.

![Range Finder [UAlgo] chart preview](https://s3.tradingview.com/i/iJIdlOP0.png?v=1711963485)
![Range Detector [LuxAlgo] chart preview](https://s3.tradingview.com/q/QOuZIuvH.png?v=1696338965)


![Gradient Range [BigBeluga] chart preview](/_next/image?url=%2Fmedia%2F28387.png&w=3840&q=90&dpl=dpl_Jt27hmzh6tNsGuJ13vyBBWgv8XSW)
