Updated

Range & Consolidation Detector [everget]

Get this and other exclusive indicators in Trading Toolkit

This indicator is part of everget's Paid Space. Subscribe for $5.00/month to use it on your charts along with the author's other exclusive indicators. You pay right on TradingView and get access straight away.

Explore Trading Toolkit
Hello friends,

I’m excited to share my latest discovery with you — the Range & Consolidation Detector. This script is built on a unique methodology I’m truly proud of. It uses no traditional indicators like ADX, RSI, or ATR — just pure statistics and mathematics under the hood. No parameters to tweak, no settings to guess — it just works, right out of the box.

🛠️ How It Works
At its core is a proprietary formula that reliably identifies ranging conditions across all tickers and timeframes. It’s simple, robust, and consistent — exactly what traders need to spot sideways markets without noise or lag.

🔥 Key Features
  • Pine Script v6 – Uses the latest version for maximum performance
  • Zero configuration – No inputs to adjust, no hidden settings — the algorithm works automatically
  • Optimized performance – Runs efficiently for smooth charting
  • Universal compatibility – Works flawlessly on any asset and timeframe, in every market condition — from euphoric peaks to choppy ranges


📸 Visual Examples
snapshot
snapshot
snapshot
snapshot

If you’d like access or have any questions, feel free to reach out to me directly via DM.

👋 Good luck and happy trading!
Release Notes
  • Fixed a bug with access keys. Just reload the chart
Release Notes
  • Added background color change for ranges broken upward or downward
  • Added a simple inside-range statistics table showing bars and volume
  • Added broken upward/downward alerts with customizable messages


snapshot
Release Notes
  • Added filters for Pine Screener. Now it is possible to scan your watchlist for ranging markets


Example: snapshot
Release Notes
  • Removed access keys
Release Notes
  • Added Average bars per range and Average volume per range metrics to the table
  • Integrated Average bars per range and Average volume per range filters for use with the Pine Screener
  • Made minor internal improvements
snapshot
Release Notes
  • Fixed flat bars (high equal to low) extending the last range from any price level
  • Bar and volume counts no longer depend on "Show Range Labels", and the statistics table now includes the range in progress
  • Range labels count every bar a range spans: a 5-bar range now shows "B: 5" instead of "B: 4"
  • The {{timeframe}} alert placeholder now shows compact values such as "4h" instead of "240"
  • Updated internal library dependencies
  • Code refactoring for improved maintainability
  • Performance optimizations for faster execution

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.