INVITE-ONLY SCRIPT

stelaraX - Chart Patterns

33
stelaraX – Chart Patterns

stelaraX – Chart Patterns is a technical analysis indicator that automatically detects and visualizes classical chart patterns using pivot-based market structure analysis.
The script is designed to assist traders in identifying price structures objectively across all instruments and timeframes.

The detection logic is fully rule-based and relies on confirmed pivot highs and pivot lows, reducing false positives and avoiding repainting assumptions.


Supported chart patterns


Reversal patterns
Double Top
Double Bottom
Triple Top
Triple Bottom
Head and Shoulders
Inverse Head and Shoulders
Rising Wedge
Falling Wedge

Continuation patterns
Bull Flag
Bear Flag
Ascending Triangle
Descending Triangle
Symmetrical Triangle
Rectangle / Channel

Patterns are validated using pivot relationships, tolerance-based price symmetry, and confirmation through closing prices.



Pattern visualization

When a pattern is detected, the indicator automatically draws relevant support, resistance, trendlines, and necklines.
Pattern boundaries are projected forward using slope calculations to reflect potential continuation zones.

Each detected structure is classified as bullish, bearish, or neutral and displayed using a configurable color scheme.
Optional on-chart labels show the pattern name directly at the structure completion point.



Dashboard

An optional on-chart dashboard provides a compact overview of the current market structure.
Displayed information includes the active pattern, directional bias, timeframe, pivot count, and the most recent pivot levels.

The dashboard position can be configured for any chart corner.



Settings and customization

Pivot length and pattern lookback are fully adjustable.
Price symmetry is controlled via a tolerance setting.
Each pattern type can be enabled or disabled individually.
Display options include pivot points, pattern lines, labels, and dashboard visibility.
All colors can be customized.



Alerts


Alert conditions are available for every supported pattern and trigger when a valid structure is detected.



Disclaimer

This indicator is intended for technical analysis only and does not provide financial advice or trading signals.
All trading decisions and risk management remain the responsibility of the user.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน