OPEN-SOURCE SCRIPT
Rectangle Breakout Patterns

📊 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.
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.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน