OPEN-SOURCE SCRIPT

Rectangle Breakout Patterns

178
📊 Rectangle Breakout Pattern Detector (Support & Resistance)
This indicator is a dynamic tool designed to automatically identify and visualize Rectangle Continuation Patterns and Trading Ranges based on pure price action. It focuses on finding horizontal areas of long-term support and resistance where price is consolidating before an eventual breakout.

💡 What It Does
The core function of this indicator is to detect and plot the boundaries of significant consolidation areas on your chart. It follows a multi-step confirmation process:
Level Detection: It automatically identifies significant Pivot Highs and Lows.
Pattern Confirmation: It confirms Support and Resistance by counting the number of times price 'touches' a level (controlled by the Min Pivot Touches setting).

Visualization: Once confirmed, it draws a Box around the consolidation area. This box automatically extends to the right as long as the price remains contained, showing the active trading range.
This provides an objective, code-driven approach to a classic chart pattern often relied upon by technical analysts.


Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.